Skip to content

Instantly share code, notes, and snippets.

@otrenav
Last active May 21, 2018 20:02
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 otrenav/7d40efb7315214d5d356eb9a39240adf to your computer and use it in GitHub Desktop.
Save otrenav/7d40efb7315214d5d356eb9a39240adf to your computer and use it in GitHub Desktop.
Let's Encrypt Certificates
sudo certbot certonly --manual --preferred-challenges dns -d [DOMAIN] -d www.[DOMAIN]
sudo cat /etc/letsencrypt/live/[DOMAIN]/fullchain.pem
sudo cat /etc/letsencrypt/live/[DOMAIN]/privkey.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment