Renew the Let’s Encrypt SSL certificate

sudo certbot renew

You can set up a cron job:

0 1 * * * /usr/bin/certbot renew 

 If the certificate is not expiring in thirty (30) days, you will get the message:

Cert not yet due for renewal

Certbot has an option to force the renewal of a Let’s Encrypt SSL certificate without regard on its expiration date. The command for Certbot is: sudo certbot certonly –manual –force-renewal

Comments