Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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/
docker run -it --rm --name certbot \
-v $(pwd)/ssl:/etc/letsencrypt \
-v $(pwd)/ssl:/var/lib/letsencrypt \
certbot/certbot certonly \
--server \
--manual \
--preferred-challenges dns \
-d * \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment