Summary

  • RFC 6698, August 2012, improves on TLS's dependence on third-party certification "by enabling the administrators of domain names to specify the keys used in that domain's TLS servers".
  • It names the weakness plainly: "the public CA model upon which TLS has depended is fundamentally vulnerable because it allows any of these CAs to issue a certificate for any domain name".
  • The alternative is hierarchical: under DNSSEC "the keys associated with a domain name can only be signed by a key associated with the parent of that domain name", and the binding is published as a TLSA record, requiring "matching improvements in TLS client software, but no change in TLS server software".

Any CA, any name

Every browser ships with a long list of organisations it has decided to believe. Any one of them can sign a certificate for any name on the Internet — including names it has never done business with — and the browser will accept the result without asking anyone else. That is not a bug in the certificate model. It is the certificate model.

The design is elegant and slightly mad. Trust is transitive, so a signature from any anchor is as good as a signature from the right one. Generality is the feature and the flaw: one careless authority, one captured authority, one authority whose validation desk was having a bad week, and a name it does not own gets a working key.

RFC 6698 does not hedge about the consequences. It lists the cases where authorities, or the partners they delegated to, were compromised and then used to intercept traffic on sites trusted by millions. The failure mode is not exotic. It is the ordinary operation of a system in which the right to speak for a name is handed out far more widely than the right to own it.

Hierarchy as an argument about authority

DANE's proposal is not a better certificate. It is a different answer to a more interesting question: who is allowed to speak for a name? The answer it gives is the one the DNS has given since 1983 — the parent. The zone that delegates a name is the zone that signs for it, and no other signature counts.

That turns delegation, already the organising idea of the DNS, into a security boundary. Whoever can change a delegation can change the keys, which is a real transfer of power, and the people who held the old power noticed. A registry stops being a filing cabinet the moment its signature is the only one that counts. It becomes the root of a chain of custody.

Pinning in a record

The mechanism itself is almost insultingly small. A TLSA record publishes a hash — or a full key — for one service at one name, and a validating client compares the certificate it just received against that record. Match, proceed. Mismatch, stop.

Use is optional per name, which kept the design compatible with everything already running. It also requires a validating resolver, which is why DNSSEC deployment is a prerequisite rather than a footnote. The elegance is real: the party that owns the name publishes the claim, and the claim travels with the name.

The adoption asymmetry

The specification is explicit that servers need no change at all: the keys they already use can be published by whoever runs the zone. Clients must change. And clients are where policy lives.

That asymmetry decided the outcome. DANE took hold where one deployer controls both ends — mail, internal services, anywhere the same organisation runs the resolver and the server — and stalled exactly where a browser vendor would have had to rule that a DNS answer outranks a certificate it already trusts. Nobody in that position is in a hurry to hand a veto to a resolver, a registry and a zone operator they have never met.

The lesson about enforcement points

A protocol can specify a better authority structure and still lose, because the party that must check is the party that also decides which checks exist.

That is the part which outlives the certificate debate. Governance arguments are not settled where they are made. They are settled where the check happens — in software somebody already installed, maintained by somebody with no incentive to add a new way to fail. Symbolic authority can be argued into existence in a working group. Executable authority lives in the code path that runs when a handshake begins, and that code path has an owner.

So the lesson is not that DANE was wrong. It is that a change in who may speak is only as good as the number of enforcement points willing to enforce it. Count those first. The elegance of the argument is free; the deployment is not, and it lands in software whose owners were never asked whether they wanted a new authority above them.