1 # Add the jessie-backports source to apt
2 echo 'deb http://ftp.debian.org/debian jessie-backports main' | sudo tee -a /etc/apt/sources.list
6 sudo apt-get -y install certbot -t jessie-backports
9 sudo certbot certonly --webroot -w /var/www/site -d kerkeslager.com -d www.kerkeslager.com
11 # Generate stronger Diffie-Hellman parameters
12 sudo openssl dhparam -out /etc/letsencrypt/live/kerkeslager.com/dhparam.pem 4096
15 sudo service nginx restart