How do I renew my SSL certificate?

Hello, I am looking to renew my website ssl certificate but I have no idea how to do it with Digital Ocean. Please help Regards Gio

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.

Hey @giordanobattistel

So, if you’re using Let’s Encrypt SSL, renewing it is like a breeze. Seriously, just one command - certbot renew, and you’re all set. It’s as simple as that! You know what? It’s a relief to know your website’s security is taken care of without any hassle.

But if you’ve got a fancy, third-party paid SSL, things are slightly different. You’ve got to go on a little adventure to fetch those updated SSL files. It’s like a treasure hunt! Once you’ve got 'em, it’s just a matter of swapping the old ones on your server. And yeah, don’t forget to give your server a little pat on the back (or restart) to apply the changes.

Anyway, I hope this helps you keep your website safe and sound. Cheers to hassle-free SSL renewal! 🚀

Site Moderator
Site Moderator badge
September 14, 2023

Hello @giordanobattistel

If you’re using Let’s Encrypt SSL, then a simple certbot renew will do the job for here. You can follow this tutorial:

For third-party paid SSLs you will need to obtain the SSL files and then update the SSL files on the server and restart the web-server.

Hope that this helps!

Site Moderator
Site Moderator badge
September 13, 2023


Is your SSL certificate a Let’s Encrypt or a paid one?

If you are using Let’s Encrypt, you can SSH to your Droplet and type in the following command:

sudo certbot renew

If your are using a paid SSL, then you need to contact the company that issued it and ask them to renew it. Afterward, you’ll need to apply the new certificate on your Droplet.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel