How to recover from expired let's encrypt certificate

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)


Submit an 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.


SSH in via root

  1. certbot renew --force-renewal

  2. reboot

That worked for me


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


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:

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).