Secure Apache with Let's Encrypt on Ubuntu 16.04
Install Let's Encrypt Client
$ sudo apt-get -s update
$ sudo apt-get install python-letsencrypt-apache
Set up the SSL Certificate
$ sudo letsencrypt --apache -d example.com
https://www.ssllabs.com/ssltest/analyze.html?d=example.com&latest
Set up Auto Renewal
$ sudo letsencrypt renew
- renew on scheduling by crontab
$ sudo vim /etc/crontab
30 2 * * 1 root /usr/bin/letsencrypt renew >> /var/log/le-renew.log
Set up Manual Renewal
- manually setup the renewal
$ ./certbot-auto certonly --manual -d example.com