Failed to renew SSL

May 6, 2019 678 views
Let's Encrypt Ubuntu 18.04

Anyone can help why the renewal was failed :

Cert is due for renewal, auto-renewing…
Plugins selected: Authenticator apache, Installer apache
Attempting to renew cert (tbina.com) from /etc/letsencrypt/renewal/tbina.com.conf produced an unexpected error: HTTPSConnectionPool(host=‘acme-staging-v02.api.letsencrypt.org’, port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff9cae9a518>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,)). Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/tbina.com/fullchain.pem (failure)

Thanks for anyone who try to help

1 Answer

Hello,

What I could suggest is testing the connection to the letsencrypt api server. You could do that with these two commands:

traceroute acme-staging-v02.api.letsencrypt.org

And:

telnet acme-staging-v02.api.letsencrypt.org 443

Note that you need to run those two from your droplet.

Also if the connection is successful I would recommend trying to run the renewal manually.

Hope that this helps!
Regards,
Bobby

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!