The “Let’s Encrypt” setup process is very painless – Just clone a Git repo, run a comand, and edit some apache config files.
- sudo apt-get install git
- sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
- cd /opt/letsencrypt
- ./letsencrypt-auto –apache -d ccrossan.com -d www.ccrossan.com
- edit the sites-enabled config files so that the appropriate virtual host uses the correct ssl certs.
- delete the newly generated ssl.conf file
- restart apache
- [Optional] Set up Cron for auto-renew
- sudo crontab -e
- 30 2 * * 1 /opt/letsencrypt/letsencrypt-auto renew >> /var/log/le-renew.log
These commands taken from the DigitalOcean Let’s Encrypt Setup Guide