CAA record

CAA Records Explained: Control Who Can Issue SSL Certificates

When you request an SSL certificate, the certificate authority must verify that it is allowed to issue for your domain. A DNS CAA record gives the domain owner a way to name the authorities permitted to issue certificates. It is a useful policy control, but a mistake in that policy can also block a legitimate renewal.

CAA stands for Certification Authority Authorization. It belongs in DNS, alongside familiar record types such as A, AAAA, and CNAME, but its job is different: it governs certificate issuance rather than sending visitors to a server.

What a CAA Record Controls

A CAA record contains a flag, a property tag, and a value. The issue tag identifies a certificate authority authorized to issue ordinary certificates. The issuewild tag can set a separate policy for wildcard certificates. The iodef tag provides a reporting destination for issuance requests that conflict with policy; it does not, by itself, restrict issuance.

For example, example.com. CAA 0 issue "letsencrypt.org" authorizes Let’s Encrypt under the example policy. The exact issuer identifier must come from the certificate authority you actually use. Do not copy a sample record into production without checking your provider and its renewal workflow.

Remember Subdomains and Wildcards

A certificate authority looks for a relevant CAA record at the requested name, then walks up the DNS name hierarchy until it finds a CAA record set. This means a policy at the main domain can affect a subdomain when the subdomain has no closer CAA record. A closer record set can establish a different policy.

Wildcard certificates need particular attention. If issuewild records are present in the relevant set, they take precedence over issue for wildcard issuance. A policy that works for www.example.com may therefore reject *.example.com. Review all certificate names and issuers before tightening the rules.

CAA Is Not a Replacement for Certificate Checks

CAA helps a certificate authority decide whether it may issue a new certificate. Browsers do not consult current CAA records to validate a certificate that is already installed. A policy change also does not revoke certificates previously issued. Continue to monitor expiry, renewals, and the certificate served by the website.

If you are new to the underlying concepts, our SSL certificate guide explains the role of certificates in HTTPS. The renewal checklist covers operational checks that CAA cannot replace.

Test Before and After a Change

List every certificate authority used for the domain, including providers that handle managed hosting, mail, or a CDN. Check whether you need both ordinary and wildcard certificates. Query the published policy with dig example.com CAA and inspect closer names where appropriate. Compare answers from all authoritative nameservers so a stale secondary zone does not produce inconsistent results.

Before the next renewal, confirm that your chosen authority can issue for every requested name. If issuance fails, inspect the CAA records and DNS availability rather than repeatedly retrying the order. As with other DNS changes, caching can delay when a corrected policy becomes visible.

For the exact lookup rules, tag meanings, and deployment considerations, see RFC 8659, the CAA specification. A carefully tested CAA policy adds a valuable layer of control without surprising your certificate automation.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *