Skip to main content
WebTools

CAA records: control who can issue your certificates

How CAA records limit which certificate authorities may issue certificates for your domain, how to write them, and how to avoid blocking your own renewals.

Published

Illustration of a certificate with a ribbon seal guarded by a DNS list panel, letting one issuer building through and stopping another at a barrier.
On this page

The short answer: A CAA record is a DNS record that lists which certificate authorities (CAs) may issue SSL/TLS certificates for your domain. Before issuing, every public CA must check it and refuse if it isn't listed. With no CAA record, any CA may issue. A typical record is example.com. CAA 0 issue "letsencrypt.org". List every CA you actually use, including any your hosting company or CDN uses on your behalf, or renewals will fail.

This guide explains how CAA works, how to write the records, how they apply to subdomains and wildcards, and how to avoid blocking your own renewals.

Why CAA exists

Hundreds of organisations run publicly trusted certificate authorities, and any of them can issue a certificate for any domain once the requester proves control of it. If an attacker tricks one CA's checks, for example by taking over a forgotten subdomain or intercepting validation email, they can get a valid certificate for your site.

CAA narrows that down. You publish a list of the CAs you use, and the rest are required to refuse. The record type is defined in RFC 8659, published in November 2019, which replaced RFC 6844. Since 8 September 2017, the CA/Browser Forum's Baseline Requirements, which every publicly trusted CA must follow, have made checking CAA mandatory before issuing a website certificate.

How a CA checks CAA

When a CA is asked for a certificate for www.example.com, it looks up CAA records for that exact name. If there are none, it moves up one level and tries example.com, and so on towards the top. It stops at the first name that has any CAA records, and uses only those (RFC 8659 section 3). Then:

  • If no name in the chain has CAA records, any CA may issue.
  • If the records list this CA, it may issue.
  • If the records don't list this CA, it must refuse.
Diagram in four steps: a certificate order for www.example.com; the CA looks up CAA records on www.example.com then example.com, stopping at the first name with CAA; it checks whether it is listed, using issue for normal names and issuewild for wildc
The check every public CA makes before issuing a certificate.

Because the search stops at the first name with records, a CAA record on a subdomain replaces the parent's records for that subdomain rather than adding to them. That's useful when one subdomain uses a different CA, but easy to get wrong.

Writing CAA records

Each CAA record has three parts: a flag, a tag and a value.

example.com.  3600  CAA  0 issue "letsencrypt.org"
example.com.  3600  CAA  0 issue "pki.goog"
example.com.  3600  CAA  0 issuewild ";"
example.com.  3600  CAA  0 iodef "mailto:security@example.com"
TagWhat it does
issueAllows a CA to issue certificates for this name and, unless issuewild is present, wildcards too. Add one record per CA.
issuewildControls wildcard certificates such as *.example.com. If present, it replaces issue for wildcards.
iodefAn email address (mailto:) or https:// address where a CA may report a refused request. Optional, and many CAs ignore it.

The flag is almost always 0. A flag of 128 marks a record as critical: a CA that doesn't understand the tag must refuse to issue at all. Only use it if a CA asks you to.

The value ";" means "no CA". issue ";" on its own forbids all certificates, which suits a domain that should never have one. issuewild ";" alongside your issue records forbids wildcards but allows normal certificates.

Identifiers for common CAs

Each CA publishes the value it recognises. Use the CA's own documentation, because some recognise more than one:

Certificate authorityValue
Let's Encryptletsencrypt.org
Google Trust Servicespki.goog
Amazon (AWS Certificate Manager)amazon.com, amazontrust.com, awstrust.com or amazonaws.com
DigiCertdigicert.com
Sectigosectigo.com

Sources: Let's Encrypt's CAA page, Google Trust Services and the AWS Certificate Manager guide. Our CAA Checker names these and many other CAs when it finds them.

Try it now

CAA Checker

Check a domain's CAA records: which certificate authorities may issue certificates, wildcard rules, report addresses and common mistakes.

Open the tool: CAA Checker

Find out which CAs you use first

The main risk with CAA is blocking yourself. Before you publish, list every place a certificate for your domain comes from:

  • Your hosting company. Most cPanel hosts issue free certificates automatically. Check which CA: many use Let's Encrypt or Sectigo, and some switch between them.
  • Your CDN or proxy. Services such as Cloudflare issue certificates for your domain themselves, sometimes from several CAs. Their documentation says which values they need.
  • Your email and other services. Hosted shops, help desks or marketing tools on subdomains may issue certificates for those names.
  • Certificates you buy. If you buy certificates from a reseller, the issuing CA is the one that counts, not the reseller.

The quickest way to see which CA issued your current certificate is to check it. Our SSL Certificate Checker shows the issuer of the certificate your site is using now.

Subdomains and wildcards

Records on example.com cover every subdomain that doesn't have CAA records of its own. That's usually what you want: one set of records protects the whole domain.

If a subdomain needs a different CA, give it its own records, and remember they replace the parent's for that name. For example, if example.com allows Let's Encrypt and shop.example.com is a hosted shop using Google Trust Services, publish shop.example.com. CAA 0 issue "pki.goog". Let's Encrypt is then not allowed for shop.example.com unless you list it there too.

The check follows CNAME records. If shop.example.com is a CNAME to your shop provider, the CA looks at CAA records on the provider's name and then the parents of shop.example.com, so the provider's own CAA records may apply.

For a wildcard certificate such as *.example.com, the CA checks example.com. If there's an issuewild record, it decides; if not, the issue records do.

Advanced options

RFC 8657 adds parameters that narrow things further. accounturi limits issuance to one account at the CA, so even someone who can pass validation can't use a different account. validationmethods limits how control may be proved, such as dns-01 only. Let's Encrypt supports both:

example.com.  CAA  0 issue "letsencrypt.org; accounturi=https://acme-v02.api.letsencrypt.org/acme/acct/123456"

These are worth it for high-value domains with a single, well-understood certificate setup. For most sites they add a way to break renewals for little benefit.

Try it now

SSL Certificate Checker

Check a website's SSL/TLS certificate: whether it is trusted, which names it covers, who issued it, when it expires and which TLS version is used.

Open the tool: SSL Certificate Checker

Common questions

Do I need CAA?

It isn't required, and without it any CA may issue for your domain, which is how most domains work. It's a cheap extra layer that makes misissued certificates less likely. Add it once you know which CAs you use.

How quickly does a change take effect?

Within the record's TTL for most CAs. Some, such as Google Trust Services, may rely on a CAA answer for up to 8 hours or the TTL, whichever is longer. Our guide on DNS changes and TTL explains caching.

My DNS host doesn't offer CAA. What can I do?

Most DNS hosts now support it, often under an "Add record" list. If yours doesn't, you can still use certificates normally; you just can't restrict CAs. Moving DNS to a host that supports CAA, and DNSSEC, is worth considering.

Does CAA stop phishing sites using look-alike domains?

No. It protects only your own domain names. A look-alike domain is someone else's, with its own records.

Checklist

  • Every source of certificates for your domain and subdomains listed, including your host and CDN.
  • One issue record for each CA you use, with the value from the CA's own documentation.
  • issuewild added only if wildcards need different rules.
  • Subdomain records, if any, include every CA that subdomain needs.
  • Flag set to 0 unless a CA asks otherwise.
  • Optional iodef address for refused requests.
  • The next certificate renewal checked after any change.
  • CAA Checker

    Check a domain's CAA records: which certificate authorities may issue certificates, wildcard rules, report addresses and common mistakes.

  • SSL Certificate Checker

    Check a website's SSL/TLS certificate: whether it is trusted, which names it covers, who issued it, when it expires and which TLS version is used.