Skip to content

tls

AI security interview questions tagged tls, across every topic.

22 questions · 5 unlocked for you

Concepts behind "tls"

Explanations of the mechanisms these questions rely on.

Foundational
Cryptography & PKI
How TLS 1.3 WorksTLS 1.3 sets up an encrypted, authenticated connection in one round trip. The client and server run an ephemeral Diffie-Hellman exchange to agree on fresh keys, the server proves its identity by signing the handshake with the private key behind its certificate, and both sides confirm with a MAC over everything exchanged. After that, data flows under AEAD encryption. TLS protects data in transit between two endpoints; it does not protect the endpoints, the data at rest, or decide who is allowed to do what.
Foundational
Cryptography & PKI
PKI and Certificate ChainsPublic key infrastructure answers the question signatures leave open: how do you know a public key belongs to who it claims? A certificate binds a name to a public key and is signed by a certificate authority. Clients trust a small set of root authorities and validate a chain from the server's certificate up to one of them, checking signatures, dates, names and constraints at each step. Certificate Transparency logs make mis-issued certificates detectable.
Core
Network SecuritySign in
Trust on the Wire: HSTS, Certificate Transparency, Pinning and InterceptionTLS protects traffic only when the client correctly decides to trust the server's certificate. HSTS stops browsers downgrading to HTTP or letting users click through warnings; Certificate Transparency makes mis-issued certificates visible; CAA records restrict which CAs may issue for a domain; pinning narrows trusted keys for clients you control; and interception proxies deliberately insert a private root, creating a new trusted point with its own risks. Operating these well means automated certificate management, staged rotation, monitoring, and knowing which failures are attacks and which are configuration.