How to update Let's Encrypt certification

March 1, 2018 3k views
Let's Encrypt Ubuntu 16.04

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!

2 comments
  • When you do your renewal dry run, do your apache config files become modified or does it just turn apache off for a moment?

  • I am not sure if any files were modified. I noticed only that the site was not accessible with an error message like “connection is refused” and then I restarted my entire server.

2 Answers

Hello,

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

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!