Created
December 2, 2018 12:38
-
-
Save malteos/03f8f1a252844d792e0f75f65ad6934a to your computer and use it in GitHub Desktop.
Obtain Lets-Encrypt SSL Certificate via Docker DNS challenge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Obtain Lets-Encrypt SSL Certificate via Docker DNS challenge | |
# adjust: | |
# - domains (-d foo.me) | |
mkdir letsencrypt_etc letsencrypt_var | |
docker run -it --rm --name certbot \ | |
-v "./letsencrypt_etc:/etc/letsencrypt" \ | |
-v "./letsencrypt_var:/var/lib/letsencrypt" \ | |
certbot/certbot certonly -d foo.me -d *.foo.me --manual --preferred-challenges dns |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment