Skip to content

CAA records: which CAs to allow before your renewal fails

"CAA record prevents issuance" means a certificate authority you rely on is missing from your CAA list. Find every issuer, including the ones your provider adds for you, and publish a record that keeps renewing.

Offensly Team··Updated ·4 min read

A certificate renewal fails at 3 a.m. and certbot leaves this behind:

Domain: www.example.com
Type:   caa
Detail: CAA record for www.example.com prevents issuance

Your CAA records said who may issue certificates for the domain, and Let's Encrypt was not on the list. CAA works exactly as designed here: every publicly trusted certificate authority must check it before issuing (RFC 8659). The hard part is not the syntax. It is knowing every authority that issues for your names, including the ones a provider uses on your behalf.

Which value each certificate source needs

Who issues your certificatesissue value to allowWhat catches people out
Let's Encrypt (certbot, most hosting panels)letsencrypt.orgcPanel's AutoSSL can use Let's Encrypt or Sectigo; allow both if your host may switch
AWS Certificate Manageramazon.com (or amazontrust.com, awstrust.com, amazonaws.com)One of the four is enough (AWS docs)
Google Trust Servicespki.googGoogle-managed certificates in Google Cloud
DigiCertdigicert.comGeoTrust and RapidSSL certificates are issued by DigiCert too
Sectigosectigo.comOlder setups may still reference comodoca.com
Cloudflare Universal SSLadded for you, see belowThe added records do not show in the dashboard

Cloudflare is the special case. When Universal SSL is on and you add any CAA record to the zone, Cloudflare adds CAA records for the authorities it uses itself, so its edge certificates keep renewing (Cloudflare docs). They are not listed under DNS > Records. Run dig CAA example.com +short to see the full set your zone actually serves.

Build the record from what you found

A site on Let's Encrypt with an AWS load balancer, no wildcard certificates, and failed requests reported to a mailbox:

example.com.  CAA  0 issue "letsencrypt.org"
example.com.  CAA  0 issue "amazon.com"
example.com.  CAA  0 issuewild ";"
example.com.  CAA  0 iodef "mailto:security@example.com"

Each authority gets its own issue line. Do not combine them into one value. issuewild ";" means no authority may issue wildcard certificates; if you never use *.example.com, publish it, because a wildcard is the most useful certificate to an attacker. If issuewild is missing, the issue list applies to wildcards as well. If a wildcard order is refused even though your CA is listed, see CAA issuewild: why a wildcard certificate is refused.

Do not rely on iodef for alerts. Let's Encrypt, for one, does not send iodef reports at all. To see what was actually issued for your names, search the Certificate Transparency logs, for example at crt.sh, before you publish the record and every few months after.

Why a renewal breaks months after the change

Authorities check CAA at issuance and at every renewal, not when you publish the record. A certificate issued last month keeps working; the next renewal is where a missing authority shows up. If you publish CAA today, list your certificate renewal dates and check each one goes through.

The lookup also climbs the DNS tree. A CAA record on example.com covers www.example.com and app.example.com, until a subdomain has CAA records of its own. Then only the subdomain's records count, and the parent's list is ignored for that name. A team that adds app.example.com CAA 0 issue "digicert.com" has just removed Let's Encrypt from that subdomain, whatever the parent says.

Check before the next renewal does it for you

dig CAA example.com +short
dig CAA app.example.com +short

Query every name you hold certificates for, not only the apex. An empty answer for a subdomain means it inherits from the parent; any answer means it does not. Compare the result with the issuers you found in Certificate Transparency. If a recent issuer is missing from the list, its next renewal will fail.

CAA record questions

What is a CAA record in DNS?

A DNS record type that lists the certificate authorities allowed to issue certificates for a name (RFC 8659). Each line has a flag, a tag (issue, issuewild or iodef) and a value, as in the examples above.

Do I need a CAA record at all?

No. Without any CAA record, every publicly trusted authority may issue for your domain. Publishing one narrows that to the authorities you name, which is why a missing entry breaks renewals.

Does CAA need DNSSEC?

It works without it. RFC 8659 recommends DNSSEC, because without a signed zone the CAA answer itself can be forged on the way to the authority.

What CAA does and does not stop

CAA stops an authority you never use from issuing a certificate for your domain, whether by mistake or after being tricked. It does not stop someone who controls your DNS, since they can change the CAA record too, and it does nothing about certificates already issued. That makes it cheap protection worth one DNS change, and most useful together with a working DNSSEC chain that keeps the record itself from being forged. If you are adding it through a provider panel for the first time, see how to add DNS records step by step.

CAA is part of the advanced DNS check in a free Offensly account, on domains you have verified, together with DNSSEC and STARTTLS on your mail servers.

Check your domain for free

Check your own domain in seconds

The free check reads your SPF, DKIM, DMARC and MX records and tells you exactly what to fix. No sign-up.