renew letsencrypt ssl certificate with cronjob

From WebHostingNeeds.com
Jump to: navigation, search

To renew LetsEncrypt SSL certificate, create a cronjob

30 2 * * 1 /usr/local/sbin/certbot-auto renew >> /var/log/le-renew.log


[email protected]:~# /usr/local/sbin/certbot-auto renew
Saving debug log to /var/log/letsencrypt/letsencrypt.log

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/webhostingneeds.com.conf
-------------------------------------------------------------------------------
Cert not yet due for renewal

The following certs are not due for renewal yet:
  /etc/letsencrypt/live/webhostingneeds.com/fullchain.pem (skipped)
No renewals were attempted.
[email protected]:~# 



letsencrypt