← All notes
Holly Field Notes

How HTTPS earns your browser's trust

HTTPS protects the connection between your browser and a website. It begins with a TLS handshake before the page is sent.

Three things happen

First, the server presents a certificate for the requested name. The browser checks that the name matches, that the certificate is in date, and that it chains to a trusted issuer. Next, the two sides agree on encryption keys. Only then do they exchange the HTTP request and response inside the encrypted connection.

What the padlock means

A valid HTTPS connection means the connection to that name is encrypted and the certificate checks passed. It does not prove that every claim on the website is true or that the site is free from security problems.

Keeping it healthy

A certificate belongs to a hostname, not simply to a server's IP address.