How the Internet works

Names and Trust, chapter 27 of 36

Certificates and the Web PKI

Chrome checks revocation against a pushed CRLSet that, by Mozilla's count, holds roughly one percent of all revocations.

Twenty-eight milliseconds after the click, the server's first flight reaches the laptop, and in its middle sits a Certificate message of 1,592 octets that carries two certificates nobody on the path has checked. The first binds a P-256 key to www.example.net under the signature of Example CA, and the second vouches for Example CA's issuing key in the name of Example CA's root. Before the laptop sends a byte of the request, it must decide whether the key that signs the handshake speaks for the name in the address bar.

1,592 octets
our TLS 1.3 Certificate message, larger than one full TCP segment on our path
95 roots
trust anchors in Chromium 159, each able to issue for any name unless constrained
47 days
maximum public certificate lifetime from 15 March 2029, down from 200 days since 15 March 2026

Break the chain of www.example.net

The checks that Chromium 159 makes, or skips, on our chain before the request leaves. Break one thing at a time to see which check catches it.

Why is a web certificate an entry in a directory?

It was designed as one. X.509 first appeared in 1988 as part of the X.500 directory standards (ITU-T X.509). Its certificate binds a public key to a Distinguished Name, the name of an entry in that directory, and RFC 1422 planned a single root for all certification within the Internet (RFC 1422, Section 1).

The Web PKI kept the format and dropped both the directory and the single root. A DNS name now lives in the subject alternative name. In our leaf the subject is an empty SEQUENCE.

How does the laptop find a path to a root it trusts?

It builds one, and the standards say little about how. RFC 5280, Section 6 defines how to validate a path that is already given, and finding one is the subject of RFC 4158. TLS clients should expect "potentially extraneous certificates and arbitrary orderings" (RFC 9846, Section 4.5.1).

If a server sends too little, Chrome fetches the missing issuer from the caIssuers URL in the AIA extension, at most five times per certificate and at most 64 KiB per response, limits that a source comment calls "arbitrary choices" [Chromium2026].

Why does the laptop trust Example CA's root?

Because a browser vendor decided to. RFC 5280, Section 6 calls the choice of a trust anchor "a matter of policy", and Apple, Google, Microsoft, and Mozilla each run a root program with its own store [Gable2025].

The Baseline Requirements bind a CA only once root programs enforce them [CABForum2026]. With SCTNotAfter, Chrome can distrust from a date onward: certificates whose Certificate Transparency timestamps are later stop working, while older ones continue [Chromium2026].

How did Example CA know who controls www.example.net?

It checked control of the name. For DV, the applicant's identity plays no part, and every method trusts the network between the CA and the domain. In 2018 Birge-Lee and colleagues at Princeton obtained bogus certificates from real CAs with BGP attacks, ethically [BirgeLee2018].

Since 15 June 2026 a CA must use at least four remote perspectives, at least 500 km apart, and at most one of four or five may disagree. On 15 December 2026 the minimum rises to five [CABForum2026].

Who watches the CAs?

Since 2013, everyone can. With about a hundred unconstrained roots, any of which can issue for any name, a misissued certificate stayed invisible until someone saw it in an attack. Public logs let interested parties, particularly those named in certificates, detect misissuance (RFC 6962, Section 1).

For our leaf, Example CA submitted a precertificate to two logs and embedded the two Signed Certificate Timestamps they returned (RFC 6962, Section 3.3). For a leaf valid up to 180 days, Chrome requires SCTs from two logs of different operators [Chromium2026].

What happens when a certificate must die before it expires?

The CA revokes it and must then tell every client, which the Web PKI has never done well. An OCSP answer of "good" means only that no certificate with that serial number is revoked (RFC 6960, Section 2.2). Online checking fails open, as Chromium's soft-fail mode does [Chromium2026], so an attacker who controls the network blocks the query. Each OCSP query also tells the CA which site the user visits [Aas2024].

Let's Encrypt turned its OCSP responders off on 6 August 2025, after a peak of about 340 billion requests a month [Aas2024] [Aas2025a].

Why do certificates keep getting shorter?

The CAs resisted twice. Ballot 185, Ryan Sleevi's 2017 proposal for 398 days, drew one yes vote from 25 CAs, Let's Encrypt's [CABForum2017]. Ballot SC22 in 2019 got 11 yes and 20 no votes among issuers [CABForum2019]. Apple then imposed 398 days on its own platforms from 1 September 2020 [Apple2023].

In April 2025 Ballot SC081v3 passed with 25 CA votes for and none against [CABForum2025]. Its rationale argues that CRLs and OCSP "do not adequately protect relying parties" at the current scale of the Internet.

letsencrypt.orgYE2ISRG Root YEISRG Root X1 (trusted)ISRG Root X2 (trusted) cert 0cert 1cert 2cert 3
From the book: The letsencrypt.org chain of 13 November 2026; trusted means in Chromium 159's store

The book keeps asking

This chapter has 5,704 words and 14 questions. These 7 are answered only in the book and the audiobook.

  • What does the server send to prove its name?
  • What does the certificate actually say?
  • How do 880 octets encode that?
  • Does the certificate name the server we asked for?
  • How does ACME turn validation into a protocol?
  • What happens when a CA is breached or breaks the rules?
  • Why not publish the key in the DNS instead?

Open the sources

  • RFC 5280 Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile 2008, Proposed Standard
  • RFC 9525 Service Identity in TLS 2023, Proposed Standard
  • RFC 8555 Automatic Certificate Management Environment (ACME) 2019, Proposed Standard
  • RFC 8659 DNS Certification Authority Authorization (CAA) Resource Record 2019, Proposed Standard
  • RFC 6962 Certificate Transparency 2013, Experimental; obsoleted by RFC 9162
  • RFC 6960 X.509 Internet Public Key Infrastructure Online Certificate Status Protocol - OCSP 2013, Proposed Standard
  • [CABForum2026] Baseline Requirements for the Issuance and Management of Publicly-Trusted TLS Server Certificates, version 2.3.1, 4 October 2026, and the list of earlier versions 2026, free (Creative Commons Attribution 4.0)
  • [Chromium2026] Chromium source tree, version 159.0.8138.0 (commit e0fb9dd9ecb25, 1 November 2026) 2026, free

All 62 documents this chapter cites, each with a link to its publisher and a copy kept here.

Applications, chapter 28 of 36

HTTP: Semantics and HTTP/1.1

Applications, chapter 29 of 36

HTTP/2: Multiplexing over One Connection

Applications, chapter 30 of 36

QUIC: A Transport in Userspace

Applications, chapter 31 of 36

HTTP/3: The Web on QUIC

Applications, chapter 32 of 36

Mail: SMTP and Forty Years of Patches

Applications, chapter 33 of 36

Time, Shells, and Files: NTP, SSH, Telnet, and FTP

The Whole Path, chapter 34 of 36

Measuring and Debugging the Path

The Whole Path, chapter 35 of 36

The Whole Journey, Byte by Byte

The Whole Path, chapter 36 of 36

Ossification and What Comes Next

You have reached the server. The book goes further.

Everything on this site is a short version. Follow the Packet is the long one: 36 chapters and about 280,000 words, with every protocol fact traced to the section of the standard that defines it, every byte dump built by a script you can run, and a directory of more than a thousand cited documents. It comes as a printable book and as an audiobook.

Hear how chapter 1 opens. 70 seconds, narrated by a synthetic voice.

Get the book or the audiobook Read the start of chapter 1 Browse every source

Cover of Follow the Packet: How the Internet Works, Layer by Layer, from ARPANET to QUIC, by Wolfgang Kerschbaumer

The signup uses double opt-in. Every message includes an unsubscribe link.

Published by Sysinit Press. The public addresses, AS numbers and names of the scenario come from ranges reserved for documentation, and the home network uses private addresses, so the site describes no real network. RFC texts are copied unchanged from the RFC Editor.