Hi guys! I’ve been renewing my certs before, but it’s always a painful process, as it never works easily. I believed I documented the process last time, but it seems I can’t find the exact steps I did to get a successful renewal last time. Can you please help me? The certbot fails every time with a connection refused, but I can connect with https no problem to my server. Until the cert expired, that is. I can provide logs and configs if needed.
My domain is: timonoj.duckdns.org
I ran this command: sudo certbot renew
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/timonoj.duckdns.org.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 timonoj.duckdns.org
Waiting for verification…
Cleaning up challenges
Attempting to renew cert (timonoj.duckdns.org) from /etc/letsencrypt/renewal/timonoj.duckdns.org.conf produced an unexpected error: Failed authorization procedure. timonoj.duckdns.org (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching http://timonoj.duckdns.org/.well-known/acme-challenge/UcIdvqN6GSJ5GSwRjIu1bNkxdPOC25LSvOrKkCGjJS4: Connection refused. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/timonoj.duckdns.org/fullchain.pem (failure)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/timonoj.duckdns.org/fullchain.pem (failure)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: timonoj.duckdns.org
Type: connection
Detail: Fetching
http://timonoj.duckdns.org/.well-known/acme-challenge/UcIdvqN6GSJ5GSwRjIu1bNkxdPOC25LSvOrKkCGjJS4:
Connection refused
My web server is (include version): nginx v1.14
The operating system my web server runs on is (include version): Ubuntu 18.04.01
My hosting provider, if applicable, is: home local server.
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): nope
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you’re using Certbot): v0.28.0
Thanks!