Skip to content

Instantly share code, notes, and snippets.

@stringsn88keys
Created July 3, 2017 17:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stringsn88keys/872e7030f60eb6d2c29d767001245a9f to your computer and use it in GitHub Desktop.
Save stringsn88keys/872e7030f60eb6d2c29d767001245a9f to your computer and use it in GitHub Desktop.
get certs via lets encrypt
#first time setup only
sudo apt-get install git
sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt
# I had to restart apache with a stubbed *.443 section, do this, and then
# add the SSL* directives in.
sudo -H ./letsencrypt-auto certonly --standalone -d example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment