Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chaitanyakommoju/c96b8b365e465d91f8b3d51149bdd8bd to your computer and use it in GitHub Desktop.
Save chaitanyakommoju/c96b8b365e465d91f8b3d51149bdd8bd 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