In brief
HTTPS is HTTP over TLS. During the handshake, client and server agree on cryptographic parameters, the server proves control of the domain with a certificate, and both sides derive a shared session key with Diffie–Hellman. The browser padlock means the connection to the domain owner is encrypted; it does not prove the site itself is trustworthy.
Key points
- HTTPS = HTTP over TLS: encryption, integrity and server authentication.
- A TLS 1.3 handshake takes one round trip.
- A certificate binds a domain name to a public key and is signed by a certificate authority.
- The browser validates the certificate chain up to a trusted root certificate.
- The session key is derived with Diffie–Hellman; it is not sent over the network.
- Forward secrecy means a leaked server key does not reveal past sessions.
- The padlock means “encrypted connection to the domain owner,” not “this site is honest.”
Chapters
- What HTTPS provides
- TLS 1.3 handshake
- Certificates and chain of trust
- Key exchange
- Forward secrecy
- What the padlock means
Terms
- TLS
- A protocol that encrypts a connection and authenticates its peer.
- Certificate authority
- An organisation that signs certificates for domain names.
- Forward secrecy
- A property that keeps old sessions safe even if the server key is later compromised.
Takeaways
- Inspect certificate warnings before entering passwords or payment details.
- A padlock is not a trust seal for the site’s content.
- Disable obsolete TLS versions on servers you operate.
Check yourself
Questions about the video
Why can a phishing site still show a padlock?
The padlock only confirms an encrypted connection to the owner of that domain . Anyone can own a phishing domain.
What is forward secrecy?
Session keys are derived with Diffie–Hellman , so stealing the server key later does not reveal past sessions .