Renew Let’s Encrypt certificatePosted: June 16, 2017
If you have no automatic certificate renewal, you may found out one day that the browser is telling you that your site is “unsafe” as the certificate has expired.
Just type at the command line:
But you can also add a simple cron job for automatic renewal, for example:
15 5,17 * * * /usr/bin/letsencrypt renew
Checking twice a day is recommended for the unlikely event if something happens to your certificate due to the Let’s Encrypt themselves.
If the certificate is valid and new nothing happens aside from reading the certificate locally, so you can run it as often as you want.