TLS encrypts traffic between browser and server—provides confidentiality and integrity on the wire. Users expect HTTPS everywhere.
Handshake intuition
Client and server agree keys; certificate proves server identity (PKI). Padlock icon means TLS active—not that site is trustworthy.
Certificate management
Use Let's Encrypt or cloud-managed certs; automate renewal; disable old TLS versions (1.0/1.1).
Mixed content
HTTPS pages must not load active HTTP scripts—browsers block or weaken security.
Important interview questions and answers
- Q: TLS vs SSL?
A: TLS is modern successor; say TLS in interviews. - Q: Cert for domain?
A: Must match hostname or browser warns.
Self-check
- What does HTTPS protect on the network?
- Why renew certificates?
Tip: Set HSTS max-age only after HTTPS works everywhere.
Interview prep
- HTTPS protects?
Confidentiality and integrity on the network path.