Home
← All questions

TLS handshake and HTTPS | Web Fundamentals

MediumPremiumWeb Fundamentals

Asked at Google · Stripe · Cloudflare

Web Fundamentals interview practice: Explain TLS 1.3 handshake, certificate chain, and why HTTPS matters beyond encryption.

Answer

HTTPS = HTTP over TLS, providing:

  1. Confidentiality — encrypted data in transit
  2. Integrity — tampering detection
  3. Authentication — server identity via certificate chain to trusted CA

TLS 1.3 handshake (simplified):

  1. ClientHello — supported ciphers, key share
  2. ServerHello — chosen cipher, certificate, signed params
  3. Client verifies cert chain + hostname (SNI)
  4. Derive session keys; encrypted application data begins

1-RTT resumption with session tickets; 0-RTT possible but replay-risky.

Premium question

Unlock the full model answer with Mentoxis Premium.

Unlock with Premium