Skip to content
StackDecode
System Design
13. Security ArchitectureAnimated

Encryption in Transit

Encrypting data moving over networks.

The idea

TLS protects data between clients, services and databases.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

BrowserServerClientHello: versions, ciphers, random
  • 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

  1. 1Establish TLS
  2. 2Verify the certificate
  3. 3Send encrypted data
  4. 4Prefer mutual TLS inside

Where it is used

All traffic.

Watch out for

Do not stop encryption at the load balancer if internal traffic is sensitive.

Related