Lets encrypt auto renew bot.
Lets encrypt auto renew bot.
Idea is origin from the repo Lets-Encrypt-Smart-Renew.
The script checkout the /etc/letsencrypt/live directory and renew the certs.
Check your os type and using the specific web host version.
Eg, ubuntu with nginx, so using ubuntu/letsbot-nginx.sh
crontab -e
0 22 * * * /letsbot/ubuntu/letsbot-nginx.sh > /var/log/letsbot.log
Remember to login as root user
Apache version.
Cert backup.