Hello,
We are running certbot script on Debian 8 server with nginx, using the nginx auto renewal module.
Currently managing 705 domains on a single server.
certbot is running in cron but for some of the domains it return error 404 when trying to renew a certificate on a challenge response stage.
When manually testing the URL, for instance:
http://domain.com/.well-known/acme-challenge/cC_xDfk5yr92dDOkPbFnqVta3zaSB5FGU-asspQrdFY
it works but the script thinks it isn’t.
I assume it’s checking the URL too early before the nginx module creates it due to big number of domains maybe or other bug.
Is it possible to set a retry to sleep (delay) inside the challenge response test?
Meanwhile we are just relaunching the certbot several times until it renews the certificate, sometimes we need to restart nginx to make it work.
I ran this command:
/home/letsencrypt/certbot-auto renew
It produced this output:
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.domain.com
Type: unauthorized
Detail: Invalid response from
http://www.domain.com/.well-known/acme-challenge/t2g6QU6WojrLsYcTbOGvFhTO5znfjFtR_wpmMiW1Rto
[185.18.205.221]: “\n\n404 Not
Found\n\nNot Found
\n<p”Domain: domain.com
Type: unauthorized
Detail: Invalid response from
http://domain.com/.well-known/acme-challenge/zfwPJTLzDc_uQSK4YDdljmN198sUStuv1lO1-qtQpik
[185.18.205.221]: “\n\n404 Not
Found\n\nNot Found
\n<p”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 version: nginx/1.15.9
The operating system my web server runs on is (include version):
Debian GNU/Linux 8
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot):
/home/letsencrypt/certbot-auto --version
certbot 0.31.0