Linux Auto-renew LetsEncrypt Certificates

The command will automatically auto-renew all Let's Encrypt certificates on your server ever two months.

More specifically, it will attempt auto-renewal.  If the certificate is not up for renewal yet, it will be skipped.
#The CRON  (auto-renew every 2 months)
30 3 1 */2 * /var/www/html/

#The renew-certs script
cd [letsencrypt directory]/letsencrypt/
./letsencrypt-auto renew
service httpd graceful    #specific to apache
Posted by
Snippet Viewed 5825 times.

Share your Linux code snippets:

  • Get some recognition & a link back to your site.
  • Create your own code library.
  • Help your fellow developers, as they have helped you.


Submit | Browse

Most Recent linux snippets

Most Viewed