Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: www.sasayaki-mvmt.com
I ran this command: sudo certbot certonly --webroot -w /etc/nginx/certs -d www.sasayaki-mvmt.com
It produced this output :
Performing the following challenges:
http-01 challenge for www.sasayaki-mvmt.com
Using the webroot path /etc/nginx/certs for all unmatched domains.
Waiting for verification...
Challenge failed for domain www.sasayaki-mvmt.com
http-01 challenge for www.sasayaki-mvmt.com
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
- The following errors were reported by the server:
Domain: www.sasayaki-mvmt.com
Type: unauthorized
Detail: Invalid response from
http://www.sasayaki-mvmt.com/.well-known/acme-challenge/r5fIZ4ztZgK3QlXzi4F_usBW9ymuaThhTtD1yPQyEuc
[3.132.64.203]: "<html>\r\n<head><title>404 Not
Found</title></head>\r\n<body>\r\n<center><h1>404 Not
Found</h1></center>\r\n<hr><center>nginx/1.18.0 (Ub"
My web server is (include version): nginx 1.18.0
The operating system my web server runs on is (include version): ubuntu 20.04
My hosting provider, if applicable, is: AWS
I can login to a root shell on my machine (yes or no, or I don't know): yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): 0.40.0
Hello, I'm having issues getting the certbot to certify, and no matter what I try I get the issue above.
My /etc/nginx/nginx.conf file looks as follows:
server{
listen 80;
server_name opencv www.sasayaki-mvmt.com;
location ^~ /.well-known{
root /etc/nginx/certs;
}
location / {
return 301 https://$host$request_uri;
}
}
Some other things to note:
I have tried below:
opencv -> sasayaki-mvmt.com in server_name
My block uses /etc/nginx/sites-available/opencv
I've checked other topics to see if they are any help, this topic seemed promising but it ultimately gave no avail.
Any help would be greatly appreciated.