TLS & PKI
Explain how TLS and certificates secure connections, and issue, deploy, automate and debug certificates.
5 objectives 6 steps about 135 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Explain the TLS 1.3 handshake - key exchange, server authentication, SNI and ALPN - and what TLS does and does not protect.
- Explain X.509 certificates, chains of trust, validation rules (names, validity, key usage) and revocation, and inspect them with openssl.
- Issue and automate certificates with a private CA and with ACME, and configure mutual TLS between two services.
- Diagnose TLS failures - expired or mismatched certificates, incomplete chains, protocol or cipher mismatches - with openssl s_client and Wireshark.
- Design a private PKI for an organisation - an offline root and issuing CAs, revocation endpoints that stay available, and a recovery plan for an issuing-CA key compromise.
Lesson plan
6 steps, about 135 min · 5 of 5 lessons available so far
- What TLS gives you: confidentiality, integrity and authentication Concept · 15 min
- Lab: the TLS 1.3 handshake on the wire, with SNI, ALPN and HTTP/2 vs HTTP/3 Lab · 25 min
- Certificates and chains: how a client decides to trust a server Concept · 20 min
- Lab: a two-tier private CA (offline root, issuing CA), server and client certificates, and mutual TLS Lab · 30 min
- Operating PKI: ACME automation as lifetimes shrink, revocation availability and CA compromise plans Worked example · 25 min
- Check: debug five broken TLS endpoints with openssl s_client Knowledge check · 10 questions
Practise it
Create a two-tier private CA (offline root, online issuing CA) with openssl or step-ca, issue a server certificate with correct SANs and a client certificate, configure mutual TLS on an nginx or Caddy service, prove that a client without a certificate is rejected, and decrypt your own session in Wireshark using SSLKEYLOGFILE.
References
Hard prerequisites
None.
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.