Question

SSL cert renewed but droplet didn't apply it.

This might seem like an odd issue but I’ve checked in the past and saw that my SSL certificate was set to auto renew on 3/30/2021. I got an email from a client saying their site was showing a not secure error. I sshed into the droplet and I can see the SSL cert was automatically renewed. I actually had to reboot my droplet in order for it to recognize the new SSL cert. Is this normal? Anything I can do to prevent having to reboot the droplet next time my SSL renews?

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.

Hi @dgrimesbusiness,

I see you have experienced the same issue, I’m sad to hear that!

Anyway, I tried some other stuff to see if I can help you out. It seems the following service should be restarted when a new certificate has been installed:

service lsws restart

Maybe you can try and add it to be executed when the system certbot.service executes the certificate renewal.

Hi @dgrimesbusiness,

Hmm, that’s weird. What you can try next time is to restart your WebService (Apache/Nginx). Basically, when you make a change like this or editting anything in the configuration, you’ll need to restart/reload your WebService (if it’s a change there of course) so that change actually is applied.

To do so, you can do

Ubuntu/Nginx

systemctl restart nginx

Ubuntu/Apahce

systemctl restart apache2

CentOS/Nginx

systemctl restart nginx

CentOS/Apahce

systemctl restart httpd

Regards, KFSys