Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save benjaminblack/7a91106b23481bfe8b9d62ce4484c5fb to your computer and use it in GitHub Desktop.
Save benjaminblack/7a91106b23481bfe8b9d62ce4484c5fb to your computer and use it in GitHub Desktop.
Let's Encrypt certbot ACME client manual DNS challenge

Let's Encrypt certbot ACME client manual DNS challenge

certbot certonly [--dry-run] --manual --preferred-challenges dns-01 \
--domain example.com --domain www.example.com [...]

For each host passed via --domain, Let's Encrypt will prompt the user to create an _acme-challenge TXT record (_acme-challenge.example.com, _acme-challenge.www.example.com, etc.) with a specific value.

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