Note to self following a quick setup on a development box….
Setup:
apt-get install git git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt cd /opt/letsencrypt ./letsencrypt-auto --apache -d example.com -d www.example.com --email admin@example.com --agree-tos
To renew:
/opt/letsencrypt/letsencrypt-auto renew
Quick cron hack for renewals:
echo "/opt/letsencrypt/letsencrypt-auto renew" >> /etc/cron.daily/letsencrypt-cron.sh chmod +x /etc/cron.daily/letsencrypt-cron.sh
Test with:
/etc/cron.daily/letsencrypt-cron.sh
Thanks to Adam for the head start: https://www.adamcouch.co.uk/2016/02/20/lets-encrypt/
More here: https://letsencrypt.org/
(Visited 275 times, 1 visits today)






