Failed to renew SSL

Posted May 6, 2019 3k views
Let's EncryptUbuntu 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 ( from /etc/letsencrypt/renewal/ produced an unexpected error: HTTPSConnectionPool(host=‘’, 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/ (failure)

Thanks for anyone who try to help

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


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



telnet 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!