Can't renew letsencrypt on my droplet(s)

Good day, ubuntu 18.04, wordpress, initial certbot installation went well and was working for 90 days as expected. after trying to run certbot renew command, i’m getting Timeout during connect (likely a firewall problem) error. domain is working fine and is being resolved. only limited ports are 22/tcp on both v6/v4. any help would be appriciated.

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @Dotnix,

It seems like it’s indeed blocked. I’ll recommend turning off your Firewall to see if certbot will connect to Let’s Encrypt for your certificate.

If you are using ufw then to disable it, open a new Terminal window and execute the following command:

sudo ufw disable.

After that to enable it run

sudo ufw enable

Another issue might be that only outgoing access is being blocked. To enable it with IPtables run the following:

sudo iptables -A OUTPUT -p tcp --sport 443 -m conntrack --ctstate ESTABLISHED -j ACCEPT

Regards, KDSys