I’m at my wits end. I recently had no trouble getting certificates for two of my other domains (rashdanml.com, tectonicdesign.ca), but when trying to expand to include the following domain, I get the following error. I have also added
location ^~ /.well-known/acme-challenge/ {
allow all;
root /var/lib/letsencrypt/;
default_type “text/plain”;
try_files $uri =404;
}
as a snippet into the nginx config for that domain, but doesn’t seem to work either. Seems like a common and recent-ish problem, but trying to different suggestions in those topics didn’t work for me. The above snippet isn’t in the configs for my other domains (but worked anyway, prior to this past week).
I’m not really sure what else I can do to troubleshoot.
My domain is: www.rashdanml.dev
I ran this command: sudo certbot --nginx
It produced this output:
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for rashdanml.dev
http-01 challenge for www.rashdanml.dev
Waiting for verification…
Challenge failed for domain rashdanml.dev
Challenge failed for domain www.rashdanml.dev
http-01 challenge for rashdanml.dev
http-01 challenge for www.rashdanml.dev
Cleaning up challenges
Some challenges have failed.
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: rashdanml.dev
Type: unauthorized
Detail: Invalid response from
http://rashdanml.dev/.well-known/acme-challenge/F7CO9xqusg2Z5sv-QyjXbsrvb3B7BQ68nd5ZQCqDYNQ
[2600:3c01::f03c:91ff:fe98:fbde]: “\r\n404 Not
Found\r\n\r\n404 Not
\r\n
Found
nginx/1.17.10 (U”Domain: www.rashdanml.dev
Type: unauthorized
Detail: Invalid response from
http://www.rashdanml.dev/.well-known/acme-challenge/PnmQtgnycBzLBAafTO4fdiVbwDi9xWwhMQcSmRXNsus
[2600:3c01::f03c:91ff:fe98:fbde]: “\r\n404 Not
Found\r\n\r\n404 Not
\r\n
Found
nginx/1.17.10 (U”To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
My web server is (include version): nginx 1.7.10
The operating system my web server runs on is (include version): Ubuntu 20.04 LTS
My hosting provider, if applicable, is: Linode.com
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): certbot 1.4.0.dev0