trust anchor
termKept 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
- RFC 5280, sections 6 and 6.1.1 (read 2026-10-27; re-read 2026-11-12): valid paths begin with certificates issued by a trust anchor; its selection is a matter of policy; trust anchor information (trusted issuer name, public key algorithm, public key, optional parameters) is an input to path validation, delivered by a trustworthy out-of-band procedure, and a self-signed certificate that provides it is not part of the path
- RFC 4949, Internet Security Glossary, Version 2 (read 2026-10-27; re-read 2026-11-12): trust anchor, an established point of trust from which a certificate user begins the validation of a certification path; definitions vary between a public key, a CA, a certificate or a combination
- OpenSSL 3.5 manual, openssl-verification-options(1), Trust Anchors (read 2026-10-27; re-read 2026-11-12): OpenSSL does not provide a default set of trust anchors; many Linux distributions configure a system default; Mozilla's influential trust store; -CAfile, -CApath and -CAstore; a self-signed certificate or -partial_chain; chain building stops at a trust anchor
- IETF, RFC 5914, Trust Anchor Format, R. Housley, S. Ashmore and C. Wallace, June 2010 (read 2026-11-12): a trust anchor is an authoritative entity represented by a public key and associated data that constrains what it is authoritative for; TrustAnchorInfo (pubKey, keyId, taTitle, certPath, exts); TrustAnchorChoice of certificate, tbsCert or taInfo; TrustAnchorList protected with CMS SignedData
- IETF, RFC 6024, Trust Anchor Management Requirements, R. Reddy and C. Wallace, October 2010 (read 2026-11-12): trust anchors have only local significance; trust anchor stores, often several per machine and unsynchronized; presence in a store conveys implicit authorization; the timestamp-authority key misused for certificates or OCSP responses; no standard way to scope a trust anchor before RFC 5914
- IANA, DNSSEC Trust Anchors and Rollovers (read 2026-11-12): the root KSK is the trust anchor for DNSSEC; root-anchors.xml updated 2024-11-05; RFC 5011 automated updates; KSK-2024 published 11 January 2025, trusted under RFC 5011 from 10 February 2025, signing since 11 October 2026; KSK-2017 revocation scheduled for 11 January 2027 and removal for 22 March 2027; KSK-2017 signed between 2018-10-11 and 2026-10-11; KSK-2023 abandoned; a three-year rollover interval
- IANA, root-anchors.xml (read 2026-11-12): key tag 19036 valid 2010-07-15 to 2019-01-11; key tag 20326 valid from 2017-02-02; key tag 38696 valid from 2024-07-18; algorithm 8, digest type 2, flags 257
- IETF, RFC 9718, DNSSEC Trust Anchor Publication for the Root Zone, J. Abley, J. Schlyter, G. Bailey and P. Hoffman, January 2025, obsoleting RFC 7958 (read 2026-11-12): the first root KSK generated in Culpeper on 2010-06-16, in production from El Segundo on 2010-07-12, first published 2010-07-15; the second generated at ceremony 27 on 2016-10-27, in production at ceremony 28 on 2017-02-02, its anchor 'first published on 2018-11-11'
- IETF, RFC 5011, Automated Updates of DNS Security (DNSSEC) Trust Anchors, M. StJohns, September 2007 (read 2026-11-12): an add hold-down time of 30 days or the original TTL, whichever is greater; bit 8 of the DNSKEY flags as the REVOKE flag
- Mozilla Root Store Policy, Version 3.1, effective 1 July 2026 (read 2026-11-12): X.509v3 root certificates with trust bits for TLS servers and S/MIME; distributors may add or delete CA certificates; websites trust bit removed 15 years after key generation, S/MIME distrust after 18 years; new roots' keys no older than five years from 1 July 2026
- Google, Chrome Root Program (read 2026-11-12): launched in 2022; the Chrome Root Store; a separate Chrome Quantum-resistant Root Program built on Merkle Tree Certificates; Chrome Root Program Policy version 1.8 of 2026-02-05, with a 15-year root CA term-limit
- Microsoft Learn, Program Requirements, Microsoft Trusted Root Program (read 2026-11-12): the program distributes root certificates for Windows; participants disclose their full PKI hierarchy in the CCADB annually; the requirements page superseded by a GitHub repository
- Fox-IT for the Dutch Ministry of the Interior and Kingdom Relations, Black Tulip: Report of the investigation into the DigiNotar Certificate Authority breach, 13 August 2012 (read 2026-11-12): rogue certificates issued from July 2011 on CA servers whose roots browsers trusted; Chrome's certificate pinning on Google certificates exposed the rogue *.google.com certificate on 28 August 2011; the Dutch government revoked trust on 3 September and most browser makers did the same