Hi,
I've a server that has been up and running for years, with certbot dutifully renewing my LE certificate. There has been no changes to the server, DNS records or pfSense, but suddenly the renewals have begun to fail. Anyone have any insights?
Thanks in advance,
@ my Wits-end
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. https://crt.sh/?q=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: mail.wits-end.ca
I ran this command: certbot renew -w /var/www/html/ (via cron or via sudo with same results)
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/mail.wits-end.ca.conf
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for mail.wits-end.ca
Using the webroot path /var/www/html for all unmatched domains.
Waiting for verification...
Challenge failed for domain mail.wits-end.ca
http-01 challenge for mail.wits-end.ca
Cleaning up challenges
Attempting to renew cert (mail.wits-end.ca) from /etc/letsencrypt/renewal/mail.wits-end.ca.conf produced an unexpected error: Some challenges have failed.. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/mail.wits-end.ca/fullchain.pem (failure)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/mail.wits-end.ca/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: mail.wits-end.ca
Type: unauthorized
Detail: 69.172.175.84: Invalid response from
http://mail.wits-end.ca/.well-known/acme-challenge/aGbKWLGsZ6PeFcXjd3m2fF01nC5pcTtiS6j8Yspr9e0:
404To 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.18.0 (Ubuntu)
The operating system my web server runs on is (include version): Ubuntu 20.04.6 LTS
My hosting provider, if applicable, is: n/a
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 (Ubuntu apt install)