PrepCity

PKI and the certificate lifecycle

Open the lab

By the last page, this is the design you will have built. Drag it, or Show all, to see every part.

Lesson · 12 pages · about 11 min

PKI and the certificate lifecycle

A certificate binds a public key to names, signed through a chain up to a root in the trust store. Watch the browser check it, then automate issuance with ACME as lifetimes drop to 200, 100 and 47 days, alert when the robot breaks, and use Certificate Transparency to catch a rogue CA like DigiNotar.

What it is
Public key infrastructure (PKI) is the system of certificate authorities, certificates and trust stores that lets a client check that a public key really belongs to a name.
What it is for
Without it, encryption could be set up with an impostor; with it badly run, certificates expire and take services down.
Use it when
Any service reached over TLS: websites, public and internal APIs, service meshes and device fleets.
Not when
It proves which server you reached, not that the server is honest or safe; that is authorization and application security.

Words you’ll learn

  • Handshake
  • API
  • Client
  • Service mesh
  • Outage
  • Certificate chain
  • Trust store
  • subjectAltName
  • URL
  • Server

Page by page