My domain is: earnanswers.com
I ran this command: sudo certbot -v --nginx -d earnanswers.com -d www.earnanswers.com
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator nginx, Installer nginx
Requesting a certificate for earnanswers.com and www.earnanswers.com
Performing the following challenges:
http-01 challenge for www.earnanswers.com
Waiting for verification...
Challenge failed for domain www.earnanswers.com
http-01 challenge for www.earnanswers.com
Certbot failed to authenticate some domains (authenticator: nginx). The Certificate Authority reported these problems:
Domain: www.earnanswers.com
Type: unauthorized
Detail: XXXX:XXXX::XXXX:XXXX:XXXX:XXXX: Invalid response from http://www.earnanswers.com/.well-known/acme-challenge/NUPPolRYa9tmIrwaKYPpRD56xVCcymigvfOZGPliO5g: 404
Hint: The Certificate Authority failed to verify the temporary nginx configuration changes made by Certbot. Ensure the listed domains point to this nginx server and that it is accessible from the internet.
Cleaning up challenges
Some challenges have failed.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
My web server is (include version):
nginx version: nginx/1.18.0 (Ubuntu)
The operating system my web server runs on is (include version):
Linux localhost 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
My hosting provider, if applicable, is:
Linode
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 2.9.0
More Information:
My certificate expired. Prior to expiry everything worked. Then I go on my website on HTTPS and see a privacy warning, and see that my certificates are "invalid".
I log to my terminal server and try to generate new certificates and as you can see i'm getting this authentication message. I need my website up ASAP. Help would be appreciated!