trust anchor

term

cryptographysecurity

Kept in this browser · My desk

The point of trust a certificate check starts from: a public key and a name the verifier already trusts, usually held as a self-signed root certificate authority (CA) certificate in a trust store.

Request for Comments (RFC) 5280 makes it an input to path validation rather than a link in the chain: when it is supplied as a self-signed certificate, that certificate is not part of the path, and which anchors to trust is a matter of policy. That is why the same chain can verify on one machine and fail on another whose store holds different anchors. OpenSSL ships no default set of trust anchors; many Linux distributions point it at a system store, and s_client takes -CAfile, -CApath or -CAstore to name them explicitly.

A trust anchor is where verification stops asking questions. RFC 4949 (Request for Comments 4949), the Internet Security Glossary of August 2007, calls it an established point of trust from which a certificate user begins the validation of a certification path, and warns that documents disagree on what the point is: a bare public key, a certificate authority (CA), a certificate, or some combination. The later standards settle on a key plus data. RFC 6024 (October 2010, R. Reddy and C. Wallace) defines a trust anchor as a public key and associated data used by a relying party to validate a signature, where the associated data constrains what the anchor may vouch for, and adds the point that explains most real-world surprises: trust anchors have only local significance. Each relying party, a browser, an operating system, a VPN (virtual private network) client, a resolver, is configured with its own set, and nothing in the certificate itself can make a verifier trust it.

In path validation for X.509, the International Telecommunication Union's certificate standard, RFC 5280 (May 2008) makes the anchor an input, not a certificate in the path. Its section 6.1.1 lists trust anchor information among the inputs to the algorithm: the trusted issuer name, the trusted public key algorithm, the public key, and optionally its parameters. That information may be supplied as a self-signed certificate, in which case the subject name and the subjectPublicKeyInfo are read out of it, but the self-signed certificate is not counted as part of the path, and its signature, expiry and extensions matter only as far as an implementation chooses to honour them. The information is trusted, the RFC says, because it was delivered by some trustworthy out-of-band procedure, and the choice of anchor is a matter of policy: the top CA of a hierarchy, the CA that issued the verifier's own certificate, or any other CA. The validation procedure is the same whichever is chosen, so the same chain can verify on one machine and fail on another simply because their anchors differ.

There was no standard format for that information until RFC 5914, Trust Anchor Format (June 2010, R. Housley, S. Ashmore and C. Wallace). It defines TrustAnchorInfo, an ASN.1 (Abstract Syntax Notation One) structure carrying the public key, a key identifier, an optional title, certification path controls and extensions, and TrustAnchorChoice, which lets an anchor be a full certificate, an unsigned TBSCertificate or a TrustAnchorInfo; a list of anchors can be signed with CMS (Cryptographic Message Syntax). The point of the format is constraint without re-signing: an operator can attach name or policy limits to someone else's root without breaking the root's signature. RFC 6024 explains why that matters. Machines hold several trust anchor stores, often unsynchronized; being in a store usually conveys implicit authorization for every use of that store; and a key installed to verify timestamps can end up validating certificates or OCSP (Online Certificate Status Protocol) responses. Before RFC 5914 the only scoping tool was to put different anchors in different stores.

In practice the anchors for TLS (Transport Layer Security) are root certificates chosen by root programmes. Mozilla's Root Store Policy, version 3.1 effective 1 July 2026, governs the X.509v3 roots shipped in Firefox and Thunderbird and the trust bits that let them anchor TLS server and S/MIME (Secure/Multipurpose Internet Mail Extensions) certificates without asking the user; it removes the websites trust bit once a root's key material is 15 years old, sets an S/MIME distrust date at 18 years, and from 1 July 2026 accepts new roots only if their keys are under five years old. Google launched the Chrome Root Program in 2022; its policy, version 1.8 of 5 February 2026, also removes roots whose key material is more than 15 years old, and Google now runs a separate quantum-resistant root programme built on Merkle Tree Certificates. Microsoft's Trusted Root Program distributes the roots Windows trusts and requires participants to disclose their whole PKI (public key infrastructure) hierarchy every year in the CCADB (Common CA Database). OpenSSL, by contrast, ships no default set at all: its manual notes that many Linux distributions configure a system default, that Mozilla maintains an influential store, and that -CAfile, -CApath and -CAstore name the anchors explicitly. By default OpenSSL treats a certificate as an anchor only if it is in the store and is self-signed, unless -partial_chain lets an intermediate in the store serve as one.

What an anchor can do when it is misused is the DigiNotar story. In 2011 the Dutch CA's systems were compromised and rogue certificates for google.com were issued under roots that every browser trusted; standard path validation succeeded wherever those roots were anchors, because the anchor itself vouched for the certificates, and what first exposed the attack was Chrome's additional pinning check on Google's own certificates. The only remedy was to take the anchor away, which browsers and the Dutch government did within days of the public disclosure. That is the logic behind term limits, Certificate Transparency and the slow removal of old roots: the trust anchor is the single point whose compromise no client-side check can catch.

DNSSEC (DNS Security Extensions) has one anchor for the whole Domain Name System (DNS): the root zone's key signing key (KSK). IANA (the Internet Assigned Numbers Authority) publishes it in root-anchors.xml and describes it plainly as the trust anchor that DNSSEC-aware resolvers are configured with. The first root KSK, KSK-2010, was generated in a key ceremony in Culpeper, Virginia, on 16 June 2010, entered production in El Segundo, California, on 12 July and was first published on 15 July 2010; its entry, key tag 19036, is valid until 11 January 2019. KSK-2017, key tag 20326, was generated on 27 October 2016 and entered production on 2 February 2017, the validFrom date in the file; it signed the root zone from 11 October 2018 until 11 October 2026, and RFC 9718 gives 11 November 2018 as the date its anchor was first published, a date the sources do not reconcile with the others. KSK-2024, key tag 38696, generated on 26 April 2024 and valid from 18 July 2024 in the file, was introduced into the root zone on 11 January 2025 and has signed it since 11 October 2026. KSK-2017 remains a valid trust anchor until its scheduled revocation on 11 January 2027 and removal on 22 March 2027; a KSK-2023 was generated and abandoned. IANA now plans a rollover about every three years, with the next key published for about two years in standby.

Resolvers learn about a new root key in one of two ways: their vendor ships it, or they follow RFC 5011 (September 2007, M. StJohns), Automated Updates of DNSSEC Trust Anchors. Under RFC 5011 a resolver accepts a new key only after seeing it, signed by the current key, for an add hold-down time of 30 days or the original TTL (time to live), whichever is longer, which is why KSK-2024 was expected to be trusted from 10 February 2025, thirty days after its publication; a key is retired by publishing it with bit 8 of the DNSKEY flags, the REVOKE flag, set. RFC 9718 (January 2025, J. Abley, J. Schlyter, G. Bailey and P. Hoffman, obsoleting RFC 7958) defines how IANA publishes the anchors, with a detached signature that can be checked against the ICANN (Internet Corporation for Assigned Names and Numbers) CA bundle. The lesson is the same as in the web PKI: a validator that cannot update its anchors will fail closed the day the old one stops signing, whatever the quality of everything below it.

Also known as: trust store, trusted root, root ca certificate, cafile

Sources

← Back to T Back to the glossary