Question

How Set-Up Automatic Update of Let's Encrypt Certificate

Posted July 11, 2019 17.9k views
ApacheWordPressDigitalOceanLet's EncryptInitial Server SetupUbuntu 18.04Automated Setups

Hi everyone,

Today one of my website get those email from Let`s Encrypt:

Hello,

Your certificate (or certificates) for the names listed below will expire in 10 days (on 18 Jul 19 17:40 +0000). Please make sure to renew your certificate before then, or visitors to your website will encounter errors.

We recommend renewing certificates automatically when they have a third of their
total lifetime left. For Let's Encrypt's current 90-day certificates, that means
renewing 30 days before expiration. See
https://letsencrypt.org/docs/integration-guide/ for details.

For any questions or support, please visit https://community.letsencrypt.org/. Unfortunately, we can't provide support by email.

Tell please how I could update it and make all those processes automated?

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.

×
Submit an Answer
3 answers

Hi,

You can run this code on your putty to get Automatic Update of Let’s Encrypt Certificate.

sudo certbot renew –dry-run

Reference: Please refer this https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-16-04

In Step3 you will get an answer to your question (It’s just above the conclusion.)

by Erika Heidi
This tutorial will show you how to set up a free TLS/SSL certificate from Let’s Encrypt on a Ubuntu 16.04 server running Apache as web server. TLS certificates are used within web servers to encrypt the traffic between server and client, providing extra security for users accessing your application.

Hello community.

Someone can help me to how can I automate Let'sEncrypt auto update on Ubuntu 20.4?

Thanks.

In my case I received a similar email but for no real reason. The certificates were automatically renewed whatsoever. Probably there was just some delay in my certbot that caused letsencrypt to send the email to be safe. My system: Ubuntu 18.04.3, certbot 0.31.0-1

You can check status of your certificates on your server by:

sudo certbot certificates

Updating certbot might also help:

sudo apt update
sudo apt list --upgradable
sudo apt install certbot