The padlock is the end of a sentence nobody had written

Every padlock in every browser is the visible end of a comparison nobody watches: a string the client asked for, a string the server presented, and a rule that decides whether the two are the same name. Until March 2011 that rule was folklore. Each protocol wrote its own version, each implementation read it slightly differently, and the same certificate could be perfectly valid to one client and a warning to the next. RFC 6125 ended the argument by naming both sides of it — the client’s reference identity and the server’s presented identity — and insisting that identity is the comparison between them, not a field in a document.

What RFC 6125 actually decided

The title is a mouthful — “Representing and Verifying the Identity of Application Services in the Internet Public Key Infrastructure” — but the move inside it is simple and permanent. It splits identity in two. The reference identity is what the user, the configuration file or the dialled URL asked for. The presented identity is what arrived inside the PKIX certificate. Verification is the act of checking that the second matches the first under a rule both sides can read.

That reframing is the contribution. A certificate does not prove identity by existing; it supplies an identifier that has to be matched against a reference. The matching happened anyway, of course — inside every TLS client, in its own dialect, with its own opinions about edge cases.

Where a name is allowed to live: subjectAltName, dNSName, SRV-ID

RFC 6125 is precise about real estate. A DNS name belongs in a subjectAltName entry of type dNSName. A service name belongs in an otherName entry carrying an SRV name. URI identifiers get their own form. The old commonName field, which had been doing the work out of habit, is demoted to a fallback for certificates that predate the rule.

That precision is the whole point. Most historical certificate failures were not cryptographic. They were arguments about which field the reader should have consulted, and what to do when a legacy common name disagreed with the extension sitting next to it. RFC 6125 picked a field and told everyone to look there.

The wildcard: one asterisk, one label, one policy

A wildcard certificate replaces a label with an asterisk, and the asterisk is where convenience quietly becomes risk. RFC 6125 drew the line in three places: the asterisk should be the whole left-most label rather than a fragment of one; when it is, it matches exactly one label, so *.example.com covers shop.example.com but neither example.com nor a.shop.example.com; and it should not appear anywhere but the left-most position.

Note the verb. The document says SHOULD, which in IETF grammar means “we are fairly sure, and we will be disappointed.” A broader wildcard saves issuance work and widens the blast radius of a stolen key; the document chose the narrower reading and said why.

Divergence, not cryptography, was the real problem

The motivation is not that individual implementations were careless. It is that every protocol had its own rules — HTTPS in RFC 2818, and a different set of habits in every other application that put TLS underneath it — so the same certificate could pass one client and fail another. Identity checks that disagree are not stronger for the disagreement. They are just unpredictable.

The IETF’s own motto, “rough consensus and running code,” hides a sequencing problem: the code ran first, and the consensus had to catch up in prose. RFC 6125 is what catching up looks like — a written rule arriving years after the behaviour it describes.

Unifying the rules did not make any certificate stronger. It made disagreement legible, which is what an identity check needs before it can mean anything.

Three names on the document

RFC 6125 carries three authors: Jeff Hodges, Rob Morgan and Michael Jones. Jones would go on to co-write the JOSE and JWT specifications — the same instinct, name the audience and then check the token against it, repackaged for services that will never show a padlock to anyone. The comparison outlived the certificate.

The lock-in nobody complains about

Here is the strange economics of a written rule. Before 2011, every client could drift, and drift was invisible. After 2011, drift became nonconformance — a bug with a citation. The rule did not become true because it was written down; it became enforceable, arguable and fixable, and in exchange the industry acquired a dependency it could not casually amend.

That is the trade every standard makes. RFC 6125 governed certificate matching for thirteen years, roughly a geological era in software, and it was replaced only when the surrounding machinery — automated issuance, millions of certificates a week, no human in the loop — made the old wording too loose to survive.

The 2024 sequel: RFC 9525

In July 2024 the IETF published RFC 9525, “Service Identity in TLS”, which obsoletes RFC 6125. Same comparison, fewer loopholes: reference identity and presented identity still face each other across a matching rule, and the wildcard still behaves. What changed is the tolerance for ambiguity, because the thing being specified is now executed by software at a scale the 2011 authors could only describe.

Identity is a procedure, not a field

Identity is not a field in a document. It is a comparison between what you asked for and what was presented, performed under rules you can point at. A certificate that has never been compared to anything is not a proof of identity; it is a nicely formatted claim.

That lesson travels well beyond TLS. Every system that verifies a name, a key, a domain or a person needs to publish both halves of the comparison and the rule that joins them — because a claim without a reference and a procedure is not an identity. It is just a string with good manners.