For latest check: https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-14-04
- ssh into the server to install letsencrypt.
- Install the requirements.
sudo apt-get update
sudo apt-get -y install git bc- Download letsencrypt