Summary
- RFC 7469, published in April 2015, defined an HTTP header that let a host "instruct user agents to remember ('pin') the hosts' cryptographic identities over a period of time" — a period during which the browser would accept only a certificate chain matching one of the pinned fingerprints.
- The rule with teeth is what a valid pin set had to contain. A browser would note a host as pinned only if the set included "at least one Pin that does NOT refer to an SPKI in the certificate chain" — a backup, drawn from a key pair the operator keeps offline. Without one, "the UA MUST NOT note the host as a Pinned Host."
A promise with a duration and a bill
The header is short: a list of fingerprints, a max-age, a couple of directives. Its consequences are not short. Once a browser has noted a pin set, it keeps checking every certificate chain against those fingerprints for as long as max-age says — and the host cannot call the whole thing off by going quiet. Silence is not a withdrawal. The old pins stay in force until the date the host itself set, months or years earlier, finally arrives.
That shape makes an operator's own success dangerous. The stronger the pin, the longer the window in which losing a private key means losing the site. The memo names the hazard "the risk of inadvertent Pin Validation failure" and then builds a rule around it.
The spare key is mandatory
A backup pin is "a fingerprint for the public key of a secondary, not-yet-deployed key pair" — kept offline, published in the same header. If the primary key is lost, the operator deploys the spare, and every browser that had already noted the spare fingerprint connects without complaint.
Then the memo does something unusual. It makes the spare mandatory not for operators but for user agents: "Because having a backup key pair is so important to recovery, UAs MUST require that hosts set a Backup Pin." The requirement sits in the acceptance test. A site that pins only the key it is currently using is not pinned at all.
Note what the browser actually checks. It does not verify that the spare key exists, that anyone holds it, or that it works. It verifies that the host said so. In a system built on records, the record is the reality — which is precisely why the record has to be written before it is needed.
The sanity of the rule comes from the failure mode. A host that pins one key has written a rule it cannot change if the key disappears. The protocol therefore refuses to accept the rule until the host has written a second one that keeps it recoverable.
A spare key is also a standing liability
The same section admits the cost without softening it: if an attacker gains control of the backup private key, "she will be able to perform a MITM attack without being discovered." Operators "must take care to avoid leaking the key such as keeping it offline."
That is a real trade, and worth stating in the blunt form the memo uses. The mechanism that makes recovery possible makes an undiscovered substitution possible, because a key that is pinned but never used in the chain is exactly the key a browser will accept without ever having watched it do anything.
The mechanism creates its own attacker
Section 4.5 is the most uncomfortable part of the document. A party that obtains a valid certificate for a domain — through misissuance, or by having owned the domain before — can send a valid pinning header of its own. If the browser has not yet noted pins for that host, "it may note the attacker's pins, preventing access to the legitimate site."
So the first party to speak sets the rule, and the rule is then enforced against everyone, including the party with the better claim. The mitigations are all about time and prior knowledge: the damage "can only persist for the maximum max-age," operators can ask to be preloaded into the browser, and misissuance can be caught through certificate transparency.
Hostile pinning is the clearest illustration of what pinning actually does. It does not verify who owns a name. It records who answered first, and makes every later answer prove itself against that record.
A trust record with an expiry date
The report-only variant completes the design. A host can send a pinning header that the browser evaluates and reports on without enforcing, so an operator can learn what would happen before making it binding. Failure there "MUST have no effect" on the enforced policy, which keeps the experiment separate from the commitment.
Read as a whole, RFC 7469 is a document about how to hold a belief safely. It specifies the belief, its duration, the spare belief that must accompany it, the damage a wrong belief does, and the channel for complaining about it. The pin is the trust anchor; the backup pin is the admission that anchors have to be replaceable.
A record that cannot be replaced is not a record. It is a hostage.
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






