By Dotnix
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.
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!
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.