Skip to content

Instantly share code, notes, and snippets.

@nantsou
Last active December 16, 2019 15:46
Show Gist options
  • Save nantsou/29a61363dd1f3c3b454c89898a640d91 to your computer and use it in GitHub Desktop.
Save nantsou/29a61363dd1f3c3b454c89898a640d91 to your computer and use it in GitHub Desktop.
# create ssl automation
/opt/letsencrypt/certbot-auto certonly --agree-tos --webroot -w /srv/letsencrypt -d example.com -d www.example.com
# wildcard with dns
/opt/letsencrypt/certbot-auto 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