System Design
2. Networking FundamentalsAnimated
TLS/SSL
Protocol that encrypts and authenticates network traffic.
The idea
TLS uses certificates to prove identity and key exchange to create shared session keys. SSL is the old name for early versions.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- current message
- earlier
- failure or attack
The browser lists what it supports and sends a random value.
- step:
- 1/6
- from:
- Browser
- to:
- Server
1/6
Time runs downward. Solid arrows are requests, dashed arrows are replies.
Step by step
- 1Client hello lists options
- 2Server sends its certificate
- 3Both derive shared keys
- 4Encrypted data flows
Where it is used
HTTPS, email, database connections.
Watch out for
Old versions are insecure. Disable SSL and early TLS.