Hello I have a problem to renew certificate let’s encrypt with certbot this error is:
~$ sudo /usr/bin/certbot renew --renew-hook "/bin/systemctl reload nginx"
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/mail.gamesyap.com.conf
Cert not yet due for renewal
Processing /etc/letsencrypt/renewal/gamesyap.com.conf
Cert is due for renewal, auto-renewing…
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for gamesyap.com
http-01 challenge for www.gamesyap.com
Waiting for verification…
Cleaning up challenges
Attempting to renew cert from /etc/letsencrypt/renewal/gamesyap.com.conf produced an unexpected error: Failed authorization procedure. www.gamesyap.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.gamesyap.com/.well-known/acme-challenge/Ufjv7AFXjIgvrpvhiScVAyA6fjYocA_k-9WQIq3zEO8: "
404 Not Found
". Skipping.
The following certs are not due for renewal yet:
/etc/letsencrypt/live/mail.gamesyap.com/fullchain.pem (skipped)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/gamesyap.com/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.gamesyap.com
404 Not Found
Type: unauthorized
Detail: Invalid response from
http://www.gamesyap.com/.well-known/acme-challenge/Ufjv7AFXjIgvrpvhiScVAyA6fjYocA_k-9WQIq3zEO8:
"404 Not Found
"To fix these errors, please make sure that your domain name was
entered correctly and the DNS A record(s) for that domain
contain(s) the right IP address.