Let’s Encrypt on Debian/Jessie
Wow, that was easy. I’ve been reading about Let’s Encrypt all over the place, and I wouldn’t like any snooping on my feeds password, now would I?
- Add the jessie-backports repository.
sudo apt install -t jessie-backports certbot python-certbot-apache
sudo letsencrypt --apache -d example.com [-d subdomain.example.com]
This stuff expires every 90 days, so you still need a cron job to renew.
sudo crontab -e
Let’s say 4 at night every Sunday.
* 4 * * 0 letsencrypt renew >> /var/log/letsencrypt-renew.log
Neat!