How to update Let's Encrypt certification

In Ubuntu server 16.04 with LAMP, I had installed Let’s encrypt certification follow this guide!

However, now the command certbot renew --dry-run messed up the server and I had to reboot it in order to get back to normal…

So my question is how can I update my certificate?

Thanks a lot!

Show comments

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.


What I would suggest in this case is:

  • Schedule a maintenance window for your website and run the renewal again

  • If this takes down Apache again, what you need to do is to check your Apache error log at: /var/log/apache2/error.log and also run a config test with:

apachectl -t

This would point you to the error that is preventing Apache from starting.

If you are not sure you could paste your Apache config here along with some of the errors that you are seeing in the error log and the output of the apachectl -t config test.

Hope that this helps! Regards, Bobby

This comment has been deleted