Hello,
My local server had been disabled for some time, while I received an email recently that my certificate will expire. I tried to renew it manually, but it fails. I guess something is totally wrong as directory ".well-known/" was not present in my web root. I created the file "/.well-known/acme-challenge/test" as per another issue in the community, but it did not help.
I guess I need to cleanup everything and start from scratch. Could you please guide me on this?
My domain is:
server.essenov.com
I ran this command:
sudo certbot renew --dry-run
Tried also "sudo certbot --nginx -d server.essenov.com" with the same result.
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/server.essenov.com.conf
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator nginx, Installer nginx
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for server.essenov.com
Waiting for verification...
Challenge failed for domain server.essenov.com
http-01 challenge for server.essenov.com
Cleaning up challenges
Attempting to renew cert (server.essenov.com) from /etc/letsencrypt/renewal/server.essenov.com.conf produced an unexpected error: Some challenges have failed.. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/server.essenov.com/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates below have not been saved.)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/server.essenov.com/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: server.essenov.com
Type: connection
Detail: Fetching
http://server.essenov.com/.well-known/acme-challenge/M2NH3x2xVSdFQc-xZcRfev36hnU0kuDk8zC5AndLwY8:
Timeout during connect (likely firewall problem)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. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
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.1 LTS
My hosting provider, if applicable, is:
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 0.40.0