A bash script to auto-renew Let's Encrypt SSL certificates on an Apache web server.
Copy the content of this repo into your users Let's Encrypt home directory.
Inside the cronautorenew-dir, create a symlink to your letsencrypt-auto script. The link has to be called letsencrypt-auto
ln -s ../letsencrypt/letsencrypt-auto ./letsencrypt-auto
Write one domain per line. Alternatively, you can write domains on separate lines for multi-domain certificates.
# Domains on one line
example.com www.example.com
# Alternatively, you can write one domain per line
flamethrower.com
sherlock.com
execute crontab -e
logged in as your letsencrypt-user and creates a CRON job.
@daily /PathToLetsencrypt/letsencrypt/cronautorenew.sh
It will redirect all input to a log file on execution. You'll find it in your auto-renew directory, and it is called "cert_renew.log"