By Carlos Pinho
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.
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 @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.
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.