Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save benjaminblack/dbc21d9aadcfb384ee5c6c395b8a13f7 to your computer and use it in GitHub Desktop.
Save benjaminblack/dbc21d9aadcfb384ee5c6c395b8a13f7 to your computer and use it in GitHub Desktop.
Using the --server flag with the certbot client for Let's Encrypt ACME v02

Use the --server flag with certbot to direct the client to a specific ACME server.

The Let's Encrypt status site lists their active servers (along with their status, obviously). Prepend the server fqdn with https:// and append /directory to the end for use with the certbot command.

E.g., for ACME v02 (which supports wildcard certs),

certbot certonly --dns-route53 --server https://acme-v02.api.letsencrypt.org/directory --domain "example.com" --domain "*.example.com"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment