Report this

What is the reason for this report?

How to recover from expired let's encrypt certificate

Posted on April 16, 2019

Mine “let’s encrypt” certificate expired yesterday. What is the safest way to extend or replace this cert, as well as to ensure that it will renew itself automatically? I am assuming whatever I need to do should be done via PuTTY (I am using Windows 10 as my workstation OS)



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!

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.

Hi

We are facing the same issue. Any solutions for this?

Greetings!

The easiest way to manage your LetsEncrypt certificate, including automatic renewal, is by using certbot. How you make use of the result of certbot or whether it automates absolutely all things for you, is a bit relative to your setup. However, this guide covers a quick how-to using Apache and Ubuntu 18:

https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04

There may be similar guides for your specific software stack, to cover things like automatic reloading of the certificate on renewal (built-in with certbot/Apache setup).

Jarland

Worked!

SSH in via root

  1. certbot renew --force-renewal

  2. reboot

That worked for me

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.