#The CRON (auto-renew every 2 months) 30 3 1 */2 * /var/www/html/renew-certs.sh #The renew-certs script cd [letsencrypt directory]/letsencrypt/ ./letsencrypt-auto renew service httpd graceful #specific to apache
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.
Snippet Viewed 5298 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.