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
Cert not yet due for renewal
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
The following certs are not due for renewal yet:
All renewal attempts failed. The following certs could not be renewed:
1 renew failure(s), 0 parse failure(s)
The following errors were reported by the server:
Domain: www.gamesyap.com404 Not Found
Detail: Invalid response from
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.