Last active
September 27, 2018 00:29
-
-
Save rms1000watt/874a26fb76dd93104893bd3e200eb87a to your computer and use it in GitHub Desktop.
Lets Encrypt Wildcard Certs with DNS Authentication
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
| #!/usr/bin/env bash | |
| mkdir /tmp/etc-letsencrypt | |
| docker run -it --rm -v /tmp/etc-letsencrypt:/etc/letsencrypt certbot/certbot certonly --manual --preferred-challenges dns-01 | |
| cp -R /tmp/etc-letsencrypt ~/etc-letsencrypt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment