Skip to content

Instantly share code, notes, and snippets.

@justinhartman
Created August 14, 2018 14:09
Show Gist options
  • Save justinhartman/b5dc1253ec4affab3d15faa6adbc5619 to your computer and use it in GitHub Desktop.
Save justinhartman/b5dc1253ec4affab3d15faa6adbc5619 to your computer and use it in GitHub Desktop.
Create Let's Encrypt SSL with certbot using DNS as the preferred challenge method
sudo certbot certonly \
--agree-tos \
-m [email protected] \
--manual \
--preferred-challenges dns \
-d justinhartman.blog \
-d www.justinhartman.blog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment