Skip to content

Instantly share code, notes, and snippets.

@rhaseven7h
Last active June 12, 2019 20:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rhaseven7h/654c92b91019c5ff5d62c3a746f050f5 to your computer and use it in GitHub Desktop.
Save rhaseven7h/654c92b91019c5ff5d62c3a746f050f5 to your computer and use it in GitHub Desktop.
Let's Encrypt - Ubuntu 18.04 - CertBot Wildcard Certificate
#!/bin/sh
certbot certonly \
--manual \
-d '*.yourdomain.com' \
-d yourdomain.com \
--agree-tos \
--no-bootstrap \
--manual-public-ip-logging-ok \
--preferred-challenges dns-01 \
--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