Let’s encrypt: success!

Here’s what I did to get running with a Let’s Encrypt cert.

  • git clone <>
  • cd letsencrypt/
  • ./letsencrypt-auto certonly --standalone -d
  • sudo tar cf etc-letsencrypt.tar.gz /etc/letsencrypt
  • gpg -c etc-letsencrypt.tar.gz
  • (scp etc-letsencrypt.tar.gz somewhere safe)
  • sudo su -
  • apt-get install nginx
  • cd /etc/nginx/
  • emacs sites-enabled/default
  • Shove in results of Mozilla SSL Configuration Generator, with nginx/modern/1.4.6 selected.
  • Delete ssl_trusted_certificate line (not sure what that is)
  • Change to ssl_certificate /etc/letsencrypt/live/;
  • Change to ssl_certificate_key /etc/letsencrypt/keys/0000_key-letsencrypt.pem;
  • exit Emacs
  • sudo /etc/init.d/nginx reload

Looks like a lot of steps, but it was actually pretty easy.