How do I renew my Let's Encrypt SSL cert?

Hey everyone,

My site is hosted on DO, and uses a Let’s Encrypt SSL cert which has recently expired. My coding knowledge is limited, so could someone give me a clear description of how to renew it, and while I’m at it, set up auto renewal.

I’ve seen a lot of commands which I believe I need to enter into the Droplet Console, but want to make sure I’m using the right one.


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.

Thanks everyone for your help. Got it sorted.

Hi, There is more information needed from you to give you simple steps on how to renew your certificate/-s. As I checked, there is nginx as your web server, isn’t it ? Please, run the command in your DO console, and provide us its result

sudo certbot certificates


If you need to renew a wildcard certificate, you need to use the following command:

certbot certonly --manual --manual-public-ip-logging-ok --preferred-challenges dns-01 --server -d “*” -d

After that you would be asked to add a TXT DNS record for your domain name. This is how your domain name would be verified.

Once you add your TXT record just press Enter and your certificate should get renewed.

Regards, Girijesh