How do I configure DNS provider credentials, and what are the common per-provider gotchas? #184
-
|
I am setting up a DNS provider in CertMate for the first time. The form asks for a token / key / file, and the docs list a different credential format for every provider. Where do I get the credential, what scope does it need, and which providers have non-obvious quirks I should know about before I file a "DNS auth failed" issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
The full per-provider table is in the wiki: DNS Providers. Below is the high-signal subset — the gotchas that account for the majority of "I cannot get DNS auth working" issues filed against CertMate. Cloudflare. Use an API Token, not the old Global API Key. Scopes the token needs: AWS Route53. The IAM policy needs Azure DNS. Use a service principal with Hetzner. Two separate plugins, two separate credentials: Akamai Edge DNS. The credential is an RFC2136 (BIND / nsupdate). The credential is a TSIG key with its name, algorithm, and secret. The ACME-DNS. A delegation server. Setup is two-step: register an account on the ACME-DNS server (one HTTP POST), then point Multi-account. Every major provider supports multiple accounts: production token, staging token, disaster-recovery token. Each certificate is bound to one account. Useful for blast-radius isolation: a leaked staging token cannot rotate the production cert. Diagnose "DNS auth failed". The audit log entry for the failed issuance carries the certbot stderr verbatim. That message — not the toast — is what tells you whether the credential is wrong, the zone is wrong, or the propagation timed out. |
Beta Was this translation helpful? Give feedback.
The full per-provider table is in the wiki: DNS Providers. Below is the high-signal subset — the gotchas that account for the majority of "I cannot get DNS auth working" issues filed against CertMate.
Cloudflare. Use an API Token, not the old Global API Key. Scopes the token needs:
Zone:Zone:Read(to list zones) andZone:DNS:Edit(to write the TXT record), restricted to the specific zone you want CertMate to manage. The "include all zones" form is more permissive than you usually want. Symptom of wrong scope: "1003 — Invalid request" from certbot. (#59)AWS Route53. The IAM policy needs
route53:ListHostedZones,route53:GetChange, androute53:ChangeResourceRecordSetsscoped to the hosted-z…