Skip to content

Instantly share code, notes, and snippets.

@maxcelos
Created September 29, 2021 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maxcelos/03f91da095519724b739f2f545971544 to your computer and use it in GitHub Desktop.
Save maxcelos/03f91da095519724b739f2f545971544 to your computer and use it in GitHub Desktop.
How to create a wildcard ssl with Certbot
certbot certonly \
--manual \
--preferred-challenges=dns \
--email your@email.com \
--server https://acme-v02.api.letsencrypt.org/directory \
--agree-tos \
-d *.your-domain.com -d our-domain.com
@maxcelos
Copy link
Author

Follow instructions to add TXT record on your DNS manager platform

Auto renew is not possible to setup using this script

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment