PLAIN/TEXT — ISSUE 137/456 COMPUTER SCIENCE · FOUNDATION / TLS HANDSHAKES · ~4 MIN READING DATE: 2027-02-15 ARCHIVE: https://plaintext.click/newsletter/ SUBJECT: What the padlock checks before a private conversation What the padlock checks before a private conversation ===================================================== / START HERE A browser needs to keep a conversation private and know which website it is talking to. TLS is a set of communication rules that protects travelling data and can check the identity of the party at the other end. Scrambling the content without that identity check could still leave you speaking privately to an impostor. / WHY NOW The browser’s setup exchange, called a handshake, links identity checking to the fresh conversation. A website certificate is not simply a badge that makes every page honest. / THE IDEA A certificate is a signed statement connecting an identity, such as a website name, with a public key. A public key is shareable information used to verify a digital signature: a set of numbers calculated with a paired secret private key. A certificate authority signs that statement, and the browser checks a chain back to an authority it trusts. For a typical certificate-authenticated TLS 1.3 handshake, the peers exchange key-agreement information to establish fresh secrets. The server also signs the handshake transcript, the record of their setup messages, proving possession of the certificate’s private key. Finished messages confirm that the agreed secrets and transcript match. These steps bind this particular protected connection to the checked identity. / THE FORMAL IDEA accept only if name + trust chain + validity + proof all pass - The plus signs mean combined checks, not arithmetic. Validity includes the certificate’s permitted time interval. - A verified signature over this handshake is evidence that the peer controls the matching private key; it does not reveal that key. The walkthrough is logical rather than a cryptographic calculation. / RUN THE TINY EXAMPLE Change one thing. Predict what happens. Toy visit: the browser requests shop.example and receives a certificate valid for shop.example. The chain is trusted, the dates are acceptable and the handshake signature verifies: setup can continue. Change one input: the certificate covers only other.example. The name check fails even if the signature and encryption mathematics otherwise work. The browser was asking not merely “is this a working key?” but “does this credential match the site I requested?” A correct proof attached to the wrong identity is not an acceptable substitute. / SO WHAT? This explains why ignoring a certificate-name warning removes a meaningful protection. It also explains the limit of the padlock: a dishonest operator can obtain a valid certificate for their own domain. The connection can protect exactly what that operator sends while doing nothing to verify a sales claim, refund promise or downloaded program’s safety. / ONE CAVEAT The description covers a common fresh TLS 1.3 server-authenticated handshake. Session resumption, client authentication, trust-store policy and revocation handling add variations; certificates do not by themselves prevent compromise of an endpoint. / KEEP THIS A protected handshake is useful when fresh connection secrets are tied to proof of the particular identity you intended to contact. / SOURCE TRAIL [1] IETF — TLS 1.3 handshake and authentication https://www.rfc-editor.org/rfc/rfc8446.html [2] IETF — Service identity checks https://www.rfc-editor.org/rfc/rfc9525.html NEXT: Why a room keeps speaking after you stop --- HARD IDEAS. PLAIN TEXT. You are receiving this because you asked for one clear computer-science or physics idea each day. Unsubscribe: https://plaintext.click/unsubscribe View in browser: https://plaintext.click/newsletter/2027/02/2027-02-15-tls-certificates-handshake.html From: Plain/Text / Brickston Consulting · 30 N Gould St Ste N, Sheridan, WY 82801 US · knowledge@plaintext.click