Tiny scripts for Let's Encrypt to automate deploy and renewal
This repository is here for historic purposes. The new auto-bot has all this functionality built in. This script was used prior to 1st of august.
Just make a cron-job as a user with enough rights to deploy and run let's encrypt plus the ability to reload the NGINX config (or whichever you want to use, I simply used NGINX in this one but it can be any...)
0 0 * * * /opt/letsencrypt/cron/automated_renewal
$ git clone https://github.com/letsencrypt/letsencrypt $ mv letsencrypt /opt/letsencrypt $ mkdir -p /var/www/letsencrypt/html
rsa-key-size = 4096 email = example@example.net authenticator = webroot webroot-path = /var/www/letsencrypt/html text = True agree-tos = True renew-by-default = True
location /.well-known/acme-challenge { default_type "text/plain"; root /var/www/letsencrypt/html; }