Domain not accessible after setting automatic renew certificate!

June 3, 2017 1.8k views
WordPress Let's Encrypt

I’ve follow this DigitalOcean article on installing Let’s encrypt. All was working well till i’ve followed the guide in the part to setup cron job for automatic renew certificate.

What happened? What can i do to solve this? Website is not accessible anymore.

2 Answers

Hi @cpinho

So the website was working fine with the new certificate on https?
Right up until you ran sudo crontab -e, add one line and exited?

Have you allowed port 443 thru your firewall?

Modifying your crontab shouldn’t do anything to Apache.

Can you post your crontab - run this:

sudo crontab -l

And post your Apache error log - run this:

tail -30 /var/log/apache/error.log

Please use the code-button in the comment editor.

Sorry, i’ve missed your reply. I’ve in the meantime restarted everything since I wanna to use nginx. Although i got the same issue. But this time i was able to solve it. I notice that in the tutorial mentions that we can ad ip or domain to the nginx default file, although providing ip, returns error with too many redirects. but using domain name, it works fine.

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!