Skip to content
StackDecode
System Design
13. Security ArchitectureAnimated

Public Key Infrastructure (PKI)

The system that issues and verifies certificates.

The idea

Certificate authorities sign certificates that bind public keys to identities.

Watch it work

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

Root CAIntermediate CAServer certBrowser
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

The root CA's certificate is pre-installed in the browser.

step:
1/4
at:
Root CA
1/9

The green dot is a request moving through the system.

Step by step

  1. 1Generate a key pair
  2. 2Request a certificate from a CA
  3. 3The CA verifies and signs
  4. 4Clients trust the CA chain

Where it is used

HTTPS and mutual TLS.

Watch out for

Expiry and revocation.

Related