Last active
May 8, 2018 11:49
-
-
Save phongvh/fdfcf5bc58adc3567a9b7086ca16c94e to your computer and use it in GitHub Desktop.
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
#folder for storing cert | |
mkdir -p ~/letsencrypt/{etc,lib} | |
# Run the Let's Encrypt client via Docker | |
docker run -it --rm --name letsencrypt \ | |
-v "~/letsencrypt/etc:/etc/letsencrypt" \ | |
-v "~/letsencrypt/lib:/var/lib/letsencrypt" \ | |
quay.io/letsencrypt/letsencrypt:latest \ | |
--agree-dev-preview \ | |
--server https://acme-v01.api.letsencrypt.org/directory \ | |
-a manual \ | |
auth | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
docker run -it --rm --name letsencrypt \ -v "~/letsencrypt/etc:/etc/letsencrypt" \ -v "~/letsencrypt/lib:/var/lib/letsencrypt" \ quay.io/letsencrypt/letsencrypt:latest \ --agree-dev-preview \ --server https://acme-v01.api.letsencrypt.org/directory \ -a manual \ auth