Last active
June 7, 2018 15:52
-
-
Save mrrooijen/9c6c963aa7fad0f3db097d738fcd33d1 to your computer and use it in GitHub Desktop.
Command to produce a wildcard ssl certificate using the Let's Encrypt Certificate Authority. Verification is done using the DNS challenge. The resulting certificates can be found in ./ssl/live/example.com.
This file contains hidden or 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
docker run -it --rm --name certbot \ | |
-v $(pwd)/ssl:/etc/letsencrypt \ | |
-v $(pwd)/ssl:/var/lib/letsencrypt \ | |
certbot/certbot certonly \ | |
--server https://acme-v02.api.letsencrypt.org/directory \ | |
--manual \ | |
--preferred-challenges dns \ | |
-d *.example.com \ | |
-d example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment