/ 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.
|
NEXT: Why a room keeps speaking after you stop
|