Created
March 18, 2018 16:27
-
-
Save deckerego/ab7c597c4445f38807979636ad9cc7ee to your computer and use it in GitHub Desktop.
Generate a wildcard SSL certificate from Let's Encrypt
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
#!/bin/sh | |
mkdir -p log lib etc | |
sudo docker run -it --rm --name certbot -v $PWD/etc:/etc/letsencrypt -v $PWD/lib:/var/lib/letsencrypt -v $PWD/log:/var/log/letsencrypt certbot/certbot certonly --debug --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You will need to add a TXT record to your domain as part of the request process, so login to your DNS provider first.