Account

Error guide / CAA record prevents certificate issuance

How to fix a CAA record that prevents certificate issuance

This error means your certificate authority looked up the domain's CAA record, did not find itself among the authorities allowed to issue for the domain, and stopped. A CAA record is a DNS record that names those authorities. The refusal, worded as "CAA record prevents issuance" or "no valid CAA record found", is a policy decision and does not mean anything is broken. You see the message when a certificate is issued or renewed: in certbot or acme.sh output, in the AutoSSL log of a hosting panel, or on a commercial CA's validation screen. Visitors never see it, only the expired or missing certificate later on.

Check your site

>

What causes it

Most often the domain already has a CAA record naming a different authority, left behind by a previous host or an old certificate vendor, and the CA you use today is not on the list. The next most common cause is a wrong value. It must be the CA's exact documented identifier, for example letsencrypt.org, and a value such as lestencrypt.org or https://letsencrypt.org blocks issuance as effectively as a deliberate restriction. Third is a wildcard mismatch: the domain permits issue but has a separate issuewild line, so only requests for *.example.com fail. Less often the record is inherited. The subdomain has no CAA of its own, the apex record governs it, and people end up editing the wrong name.

How to fix it

  1. Run the check on this page for the exact hostname the certificate is for and read the CAA lines. If none are listed, the domain publishes no CAA at all, any CA may issue, and the refusal has another cause, so re-read the CA's error text. Each listed line shows flags (normally 0), a tag and a value, and those values are exactly the list your CA compared itself against. If the CA says the CAA lookup itself failed (SERVFAIL), the fault is in your DNS servers or DNSSEC, not in the record's contents.
  2. If the hostname has no CAA of its own, run the check again on the bare domain (example.com, not www.example.com). CAA is read at the exact name first and then up the tree toward the apex, so an apex record governs every subdomain that does not publish its own.
  3. Compare each issue value with the identifier your CA documents: letsencrypt.org for Let's Encrypt, pki.goog for Google Trust Services, sectigo.com, digicert.com and so on. The value must be the bare identifier, with no https://, no trailing slash and no stray spaces. An iodef line is only an address for violation reports and blocks nothing, so leave it in place.
  4. If you are requesting a wildcard, look for issuewild. When an issuewild line exists, wildcard requests are judged by it alone and the issue lines are ignored for them; when there is no issuewild line, issue covers wildcards too. A value of a single semicolon (;) means no authority may issue.
  5. Fix the record where the DNS zone actually lives (registrar, hosting control panel or Cloudflare). Add or edit a CAA record with flags 0, tag issue and your CA's identifier as the value, and keep the lines for any other CA you still use. Deleting every CAA record is also valid: the domain returns to the default, where any authority may issue.
  6. Re-run the check until the new values appear, and only then retry issuance. Because of DNS caching the fix does not apply at once, so allow at least the record's TTL. A CA may also reuse a recent CAA lookup for up to 8 hours, so an immediate retry can still hit the old answer.

Related errors