System Design
2. Networking FundamentalsAnimated
HTTPS
HTTP carried inside an encrypted TLS connection.
The idea
HTTPS adds encryption, integrity and server identity checks so eavesdroppers cannot read or alter traffic.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- current message
- earlier
- failure or attack
First a TCP connection is opened.
- step:
- 1/5
- from:
- Browser
- to:
- Server
1/5
Time runs downward. Solid arrows are requests, dashed arrows are replies.
Step by step
- 1TCP connects
- 2TLS handshake agrees keys and verifies the certificate
- 3HTTP requests are sent encrypted
- 4Responses return the same way
Where it is used
Every modern site.
Watch out for
Certificates expire. Automate renewal.