Skip to main content
Presentation 15 of 16

Key management and PKI

X.509 certificates · Chain of trust · TLS 1.3 handshake

Slides: 26 PDF · 905 KB
Loading slides…

Keyboard: Left arrow Right arrow Slides; F — fullscreen

Summary

Even with strong algorithms, mathematics does not guarantee whom a public key belongs to — that is a trust problem solved by certificates and PKI. The lecture covers the seven-stage key life cycle, trust models (PKI, Web of Trust, TOFU), the structure of an X.509 certificate, CAs, CSRs and DV/OV/EV levels, the chain of trust from root to leaf, and revocation with CRL/OCSP. It then walks through the TLS 1.3 handshake, forward secrecy, the 0-RTT risk, HSM/TPM/KMS and KDFs (PBKDF2, HKDF, Argon2id).

Key terms

PKI X.509 CSR ACME chain of trust CRL OCSP TLS 1.3 ECDHE HKDF forward secrecy HSM

Lecture outline

  1. The trust problem: whose public key is it?
  2. Key life cycle: seven stages
  3. Trust models: PKI, Web of Trust, TOFU
  4. What is inside an X.509 certificate
  5. CA, CSR and DV / OV / EV levels
  6. Certificate chain and the root store
  7. Revocation: CRL, OCSP and stapling
  8. The TLS 1.3 handshake step by step
  9. Forward secrecy, HSM/TPM and KDFs
  10. Common mistakes, Python and conclusions
Related lesson PKI, X.509 Certificates and TLS 1.3 Handshake