The guest list in the DNS

A TLS certificate is a stranger's signature on your name. The stranger is a certificate authority, and your browser accepts the signature because that authority appears on a list it already trusts — a list that, for the first two decades of the secure web, gave every authority on it the right to sign for every name on the Internet.

The trust model was a hundred keys and one door, and every key opened it.

Then the Internet added a guest list. The CAA record — Certification Authority Authorization, standardised as RFC 8659 in November 2019 after an earlier life as RFC 6844 — lets a domain owner publish, in the DNS, exactly which certificate authorities may issue for that name. It is a few dozen bytes of RDATA. It contains no enforcement clause of any kind. And it has become one of the more quietly effective pieces of institutional design the Internet has produced.

The veto is real. The enforcement is outsourced to the people it constrains.

Before CAA, every trusted authority could speak for every name

The pre-CAA web ran on a generous assumption. Trust stores shipped with operating systems and browsers held dozens of certificate authorities, and each of them could issue a valid certificate for any name in the world. The domain owner got no vote. The relying party had no way to know which authority the owner actually wanted, or whether the owner had ever heard of it.

The 2011 DigiNotar breach showed what that assumption cost. A Dutch authority was compromised and issued fraudulent certificates for google.com and other names. Browsers pulled it from their trust stores; the company was bankrupt within weeks. The lesson was not that DigiNotar was uniquely careless. The lesson was that the trust list was the only control surface, and the trust list was all or nothing.

CAA's answer was to let the owner say something narrower. Not "trust this authority" or "do not" — just: here is who I have authorised. Publish it where anyone can read it. Let the authorities work out the rest.

What a CAA record actually contains

The vocabulary is deliberately tiny. issue names the authorities permitted to issue ordinary certificates for the name. issuewild does the same job for wildcard certificates, which match many hostnames at once. iodef carries a reporting address for incident notifications, so an authority that spots something odd knows where to write.

Then there is the flag. A single bit in the record's flags octet marks a property as critical, and a CA that does not understand a critical property must not issue at all. It is forward compatibility in one bit: a way for an owner to tell authorities that have not yet learned the vocabulary that this part is not optional.

Three properties and one flag. That is the entire specification.

A limit enforced by the limited

Here is the part worth sitting with. RFC 8659 does not hand the domain owner a lock. It hands the owner a published preference, and then it relies on the certificate authorities to read it, honour it, and notice when a competitor has not.

The specification's own language is careful about the claim. Publication, it says, "allows a public CA to implement additional controls to reduce the risk of unintended certificate mis-issue". Not prevents. Not guarantees. Allows.

So what makes an authority care? Three things, and none of them live in the DNS.

The first is the CA/Browser Forum's baseline requirements, which oblige member authorities to check CAA before issuing. The second is certificate transparency: public authorities log the certificates they issue, so a certificate nobody asked for is a certificate somebody can find. The third is commercial self-interest, and it is the strongest of the three. An authority that ignores a customer's guest list has just published its own answer to the only question that matters at renewal: what are your promises worth?

Let's Encrypt — the authority that made TLS free, automatic and boring — checks CAA on every issuance. So does every other authority that intends to stay in the browser trust stores.

The critical flag trap: when the record is written by the party it constrains

RFC 8659 devotes a short section to a hazard that is more interesting than it first appears. Because customers tend to paste whatever record their authority hands them rather than composing one themselves, an authority can hand out a record that quietly excludes its competitors.

The specification's description: a CA could use the critical flag "to trick customers into publishing records that prevent competing CAs from issuing certificates even though the customer intends to authorize multiple providers".

The customer believes it has authorised three authorities. The record authorises one. And because the excluded property is marked critical, a competitor that does not recognise it must decline to issue — which is precisely the outcome the record's author wanted.

The document then makes the honest counterpoint: the effect is limited, because a competent competitor that finds itself blocked will investigate, work out why, and tell the customer. The trap holds only against owners who never ask why their second authority stopped working.

Which is the design in miniature. A record is only as strong as the number of parties with a reason to read it carefully.

Who wrote it, and why the guest list holds

RFC 6844, January 2013, carried two names: Phillip Hallam-Baker and Rob Stradling. The 2019 revision that became RFC 8659 added a third, Jacob Hoffman-Andrews, then of the Electronic Frontier Foundation. Three people, one small record, and a mechanism that now sits in the issuance path of the public web.

The design they chose is worth naming, because it is not the obvious one. They could have made CAA a hard protocol rule — a certificate issued against the record is a certificate relying parties reject. They did not. They made it a preference, published in the open, and left enforcement to the parties with an interest in noticing.

That choice is why CAA survived contact with reality. A hard rule would have required every authority, every trust store and every relying party to agree on a new validation step at the same time. A published preference required only that the parties already in the room start reading it — and the CA/Browser Forum could make them.

There is a broader lesson in that, and it is not comfortable for anyone who prefers command. The record works because it is small, deterministic and locally checkable, and because adoption was voluntary while enforcement was left with the parties who bear the cost of getting it wrong. Thin rules, checked close to the network, beat thick procedures nobody can verify.

Small records, large arguments

RFC 8659 is a short document about a small record, and it carries a large question: in a system with no central authority, who gets to decide which institutions may speak for a name?

The answer it gives is the right shape for a federated system. Not a lock. Not a regulator. A published preference, plus a set of institutions with a reason to check it — and a public log for the cases where they don't.

The CAA record has no police. It has an audience. That, it turns out, is the harder thing to ignore.