22 min read Cryptography & Web Security Lesson 8 of 13
Part 3 — Web Protocols & Security

Lesson 08 — HTTPS, TLS & Encryption: How Secure Web Connections Work

Cryptographic security, symmetric vs asymmetric keys, digital certificates, CA trust chains, and the TLS 1.3 handshake lifecycle

What We Will Learn in This Lesson

By the end of this lesson, you will master the cryptographic foundation and security protocols that safeguard communication across the open Internet:

  • What HTTPS is and why unencrypted HTTP is inherently vulnerable
  • The cryptographic triumvirate: Plaintext, Ciphertext, and Keys
  • Symmetric vs Asymmetric Cryptography architectures
  • The Key Exchange Problem and the hybrid cryptosystem solution
  • Digital Certificates and the role of Certificate Authorities (CAs)
  • The OS/Browser Root Trust Store and Chain of Trust validation
  • Step-by-step TLS 1.3 Handshake packet message choreography
  • Ephemeral Diffie-Hellman Key Exchange and Symmetric Session Keys
  • Exact boundaries: What HTTPS protects vs what it cannot protect
  • The Browser Lock Icon reality check and phishing scams
  • The complete 16-step end-to-end HTTPS journey and the master mental model

1 Where Did We Pause in the Previous Lesson?

In the previous lesson, we observed the elegant order of web communications. When you type an address into your browser:

https://example.com

The browser orchestrates a sequence of lower-layer protocols:

1 DNS Resolution: Queries name servers to resolve the domain to an IP address.
↓
2 IP & Port: Targets the destination host IP and specific service port.
↓
3 TCP 3-Way Handshake: Exchanges SYN, SYN-ACK, and ACK packets to establish a transport socket.
↓
4 HTTP Request: Client dispatches GET / HTTP/1.1.
↓
5 HTTP Response: Server replies with HTTP/1.1 200 OK and HTML.

While technically brilliant, an existential security danger lurks beneath this pipeline. Imagine you are logging into your bank account or submitting credit card credentials:

POST /api/login HTTP/1.1
Host: bank.example
Content-Type: application/json

{ "email": "salim@example.com", "password": "SuperSecretPassword123!", "card": "4111-2222-3333-4444" }

Under standard, unencrypted HTTP, this data travels across the Internet as raw, readable text. Any entity along the path—a rogue public Wi-Fi router, an ISP technician, or a malicious adversary running packet analysis tools—can inspect every character of your passwords, tokens, and financial data in real time!

The Fundamental Crisis: The Hostile Transit Path

The Internet is not a private dedicated wire; it is an open superhighway of hundreds of public and private intermediate routers. Sending sensitive data over plain HTTP is equivalent to writing confidential letters on a public postcard. To solve this existential flaw, we require Encryption.

2 What is Encryption?

At its core, Encryption is a mathematical and cryptographic process that transforms readable information into an unintelligible, scrambled representation that is impossible to decipher without access to a specific cryptographic Key.

1. Plaintext

The original, readable data intelligible to humans and computers. E.g., "Hello Salim" or raw passwords.

2. Ciphertext

The scrambled, unreadable output produced after processing plaintext through an encryption algorithm using a key. E.g., "X7kP@91Lm#$q9A".

3. Cryptographic Key

A specialized mathematical binary string or number supplied as a parameter to algorithms to lock (encrypt) or unlock (decrypt) data.

The Fundamental Cryptographic Cycle

Plaintext "Hello Salim"
→ Encryption (via Key) →
Ciphertext "8f9a2c1b4e..."
→ Decryption (via Key) →
Plaintext "Hello Salim"

3 Why is Encryption Needed?

When data travels from your device to an overseas web server, it traverses a chain of distinct network entities:

Your Computer / Phone → Local Wi-Fi Router → ISP Gateway → National IXP → Subsea Fiber Cables → Target Data Center

Without cryptographic protection, any compromised intermediary along this path can execute packet sniffing (e.g., using Wireshark) to compromise user privacy.

The Primary Guarantee: Confidentiality

If an adversary captures or mirrors the network packets in transit, they observe only pseudorandom ciphertext. Without the cryptographic key, deciphering the data by brute force would require millions of years even on modern supercomputing clusters.

4 Is Encryption Alone Sufficient? The Authentication Dilemma

A common misconception is that encrypting data solves all security dilemmas. Consider this scenario:

!

You attempt to visit your online banking portal at bank.example over an untrusted hotel Wi-Fi network. An attacker poisons the local DNS or gateway, intercepting the request and redirecting your browser to a fraudulent server they control.

!

Your browser successfully negotiates an encrypted connection with the attacker's server. The traffic across the wire is encrypted, but you willingly hand your credentials straight to the attacker!

Therefore, encryption alone is incomplete without a second mandatory guarantee:

Authentication

"How do I cryptographically verify that the server I am communicating with is genuinely the legitimate owner of the domain, rather than an imposter?"

HTTPS and TLS solve both problems simultaneously: ensuring data confidentiality while cryptographically authenticating the remote server's identity.

5 What is HTTPS?

HTTPS stands for Hypertext Transfer Protocol Secure. Technically, it is defined as:

HTTP over TLS

Standard HTTP semantics (GET, POST, PUT, DELETE, headers, and status codes) remain entirely intact. However, rather than dispatching plaintext directly over raw TCP sockets, the application payload is wrapped in a cryptographic TLS security layer.

HTTP vs. HTTPS Protocol Stacks

Unencrypted HTTP
HTTP (Plaintext Payload)
↓
TCP (Port 80)
↓
IP (Public Routing)
⚠️ No confidentiality, integrity, or authentication
HTTPS (Secured)
HTTP (Application Logic)
↓
TLS (Encryption + Auth)
↓
TCP (Port 443)
↓
IP (Public Routing)
🛡️ End-to-end encryption & server verification

6 What is TLS?

TLS stands for Transport Layer Security. It is an open, standardized cryptographic protocol engineered to provide a secure communication channel between two network endpoints.

SSL vs. TLS History: In 1995, Netscape designed SSL (Secure Sockets Layer). Following cryptographic vulnerabilities in SSL 2.0 and SSL 3.0, the IETF standardized the protocol in 1999 under the name TLS 1.0. SSL is completely deprecated and prohibited today. Modern web infrastructure relies exclusively on TLS 1.2 and TLS 1.3, although industry jargon often colloquially retains the term "SSL Certificate".

TLS enforces three fundamental security guarantees:

1. Confidentiality

Privacy. Third-party observers across intermediate routers cannot read the transmitted application data.

2. Integrity

Tamper detection. If an attacker alters even a single bit in transit, cryptographic message authentication codes (MAC / AEAD) instantly flag the packet for discarding.

3. Authentication

Identity binding. Cryptographic digital certificates verify that the client is communicating with the authentic server.

7 What is Symmetric Encryption?

Cryptographic systems operate across two major paradigms. The first is Symmetric Cryptography.

In symmetric encryption, the exact same secret key (Single Shared Key) is used both to encrypt the plaintext and to decrypt the resulting ciphertext back to its original form.

Plaintext: "MySecret"
→ Encrypt (with Key K) →
Ciphertext: "3a8c1f..."
→ Decrypt (with same Key K) →
Plaintext: "MySecret"

This mirrors a physical padlock: the exact same key that turns clockwise to lock the box must be used to unlock it. Prominent symmetric algorithms include AES-128, AES-256, and ChaCha20.

8 The Problem with Symmetric Encryption: The Key Exchange Dilemma

Symmetric encryption is computationally lightweight and hardware-accelerated. However, it suffers from a fatal flaw on the open Internet:

"How can two parties who have never met safely share a secret key over an unencrypted, public network?"

Suppose you visit example.com for the first time. If your browser generates a symmetric key and sends it over the wire to the server:

1. The client sends a symmetric key: SecretKey123

2. An eavesdropper intercepting the packet logs: SecretKey123

3. Even if subsequent messages are encrypted using this key, the eavesdropper already possesses it and can decrypt every packet instantaneously!

This dilemma is known as The Key Exchange Problem. Bootstrapping confidential communication over an untrusted channel requires Asymmetric Cryptography.

9 What is Asymmetric Cryptography?

Asymmetric Cryptography (Public-Key Cryptography) utilizes a mathematically linked pair of distinct keys:

1. Public Key

Publicly accessible to everyone. The server freely distributes its public key to any client across the globe.

2. Private Key

Strictly confidential. Kept securely on the server's private storage or hardware security module (HSM). Never transmitted across the network.

The Asymmetric Golden Rule:

When data is encrypted using the Public Key, only the corresponding Private Key can decrypt it—not even the public key itself can reverse the operation. Conversely, data digitally signed using the Private Key can be mathematically verified by anyone using the public key.

10 How Does a Public/Private Key Pair Work?

Consider the classic mailbox analogy:

1. The server leaves open public padlocks (Public Keys) on the street for anyone to take, keeping the only physical key (Private Key) in its pocket.

2. When you want to send a confidential message, you place your letter in a box, snap the server's padlock shut, and hand it to a postal courier.

3. Anyone handling the box in transit cannot open it without the physical key.

4. Upon delivery, the server unlocks the box using its private key and reads your letter.

Modern Reality in TLS 1.3:

In older TLS implementations (RSA key exchange), clients encrypted a pre-master secret with the server's public key. However, this lacked Forward Secrecy: if an attacker compromised the server's private key years later, they could decrypt all previously recorded historical traffic. Modern TLS 1.3 mandates Ephemeral Diffie-Hellman (ECDHE) key exchange, generating disposable session keys for every connection.

11 Symmetric vs. Asymmetric Cryptography: Architectural Trade-Offs

Comparing both approaches illustrates why modern web security employs a composite design:

Dimension Symmetric Encryption Asymmetric Encryption
Key Architecture 1 Single Shared Secret Key 2 Keys (Public + Private Key Pair)
Computational Speed Extremely fast; hardware AES instructions Computationally expensive modular arithmetic
Bulk Data Suitability Optimal for HTML, CSS, images, video, JSON Impractical and prohibitive for bulk payloads
Core Challenge Insecure key sharing over open networks High CPU overhead and latency
Web Architectural Role Bulk application data transfer Handshake, authentication & key agreement

The Engineering Triumph: The Hybrid Cryptosystem

Modern web connections combine both paradigms. During connection setup, Asymmetric Cryptography verifies identity and negotiates a shared secret. For the remainder of the session, gigabytes of web assets are encrypted at line speed using Symmetric Session Keys.

12 What is a Digital Certificate?

When a server sends its public key to your browser, how does the browser verify that this public key truly belongs to example.com rather than an imposter?

This identity binding is established via an X.509 Digital Certificate. A certificate acts as a digital cryptographic passport binding a domain name to a specific public key.

Anatomy of a Digital Certificate:

1. Subject (Domain Identity): CN=example.com, SAN=DNS:www.example.com
2. Public Key: ECDSA P-256 or RSA 2048-bit Public Key
3. Issuer (Certificate Authority): Let's Encrypt / DigiCert Global Root CA
4. Validity Timestamps: NotBefore: 2026-01-01, NotAfter: 2026-04-01
5. Digital Signature: Cryptographic hash signed by the issuing CA's private key

13 Who Issues Certificates? Certificate Authorities (CAs)

Anyone can generate a self-signed certificate on their local machine, but web browsers will reject it with security warnings. Public trust requires certification by a trusted Certificate Authority (CA).

The Hierarchical Chain of Trust

Operating systems and browsers ship with a curated collection of pre-installed root certificates known as the Root Trust Store (e.g., DigiCert, Let's Encrypt, Sectigo). Trust cascades down a hierarchical chain:

Root CA (Pre-installed in OS/browser trust anchor)
↓ Cryptographically signs
Intermediate CA (Operational issuing authority)
↓ Cryptographically signs
Leaf Certificate (Specific domain, e.g., example.com)

When a browser connects to a website, it traverses the chain upward. If the leaf certificate chains up to a recognized Root CA in the local store, the connection is validated.

14 What Does a Certificate Actually Prove?

A widespread misconception is that a certificate or lock icon guarantees the site is honest, reputable, and secure.

Not a Guarantee of Morality or Integrity

A TLS certificate proves only one technical fact: "The entity controlling this public key has proven ownership of this specific domain name to a trusted CA." It does not prove that the site owners are ethical, that their software is bug-free, or that they won't commit financial fraud. Malicious actors frequently acquire valid TLS certificates for deceptive phishing domains.

15 What Does the Browser Verify?

Upon receiving a certificate, the browser executes a rigorous sequence of automated checks:

1. Domain Matching

Ensures the URL hostname matches an entry in the certificate's Subject Alternative Names (SAN) list.

2. Validity Window

Verifies the current system clock falls between the certificate's NotBefore and NotAfter dates.

3. Chain of Trust

Traces the signature chain back to a trusted root anchor pre-installed in the local trust store.

4. Signature Integrity

Mathematically checks the issuing CA's digital signature to ensure no fields have been tampered with.

16 The Core Mechanism: The TLS Handshake

Once the underlying TCP connection is active, the endpoints negotiate security parameters via the TLS Handshake.

While TLS 1.2 required two full round-trips (2-RTT), modern TLS 1.3 achieves full cryptographic negotiation in a single round-trip (1-RTT):

TLS 1.3 1-RTT Handshake Sequence
Client (Browser) Web Server
ClientHello (Key Share + Ciphers + SNI)
───────────────────>
Process & Select Parameters
Verify Signature & Compute Secret
<───────────────────
ServerHello + Cert + Verify + Finished
Finished & Session Keys Activated
═══════════════════>
Encrypted Data Flow Begins
[ 🔒 All subsequent HTTP data encrypted with Symmetric AES-GCM ]

17 Step 1 — ClientHello

The browser initiates the handshake by dispatching a ClientHello record containing:

  • Supported TLS Versions: E.g., TLS 1.3, TLS 1.2.
  • Cipher Suites: Supported encryption suites, e.g., TLS_AES_256_GCM_SHA384.
  • Client Key Share: In TLS 1.3, the client speculatively generates and attaches its Diffie-Hellman public key share in the very first message!
  • Server Name Indication (SNI): Specifies the target hostname (example.com) so multi-tenant servers can serve the correct certificate.

18 Step 2 — ServerHello

The server evaluates the client's options and replies with ServerHello.

It selects the optimal cipher suite (e.g., TLS_AES_256_GCM_SHA384) and provides its own Server Key Share. At this exact moment, both sides possess sufficient data to compute the shared secret!

19 Step 3 — Shared Secret Derivation (Diffie-Hellman Magic)

How do two independent machines arrive at the exact same secret key across a hostile network without transmitting the secret itself?

Diffie-Hellman Mathematical Agreement:

1. Client chooses private random secret: a
2. Server chooses private random secret: b
3. They exchange public shares over the wire: A = g^a mod p and B = g^b mod p
4. Client computes: S = B^a mod p = g^(ab) mod p
5. Server computes: S = A^b mod p = g^(ab) mod p

An eavesdropper seeing A and B cannot calculate g^(ab) due to the computational hardness of the discrete logarithm problem. Both endpoints now hold the identical Shared Secret!

20 Step 4 — Server Certificate

The server transmits its X.509 Certificate Chain. In TLS 1.3, this message is sent under an encrypted handshake wrapper using the temporary key derived in Step 3, protecting certificate metadata from passive eavesdroppers.

21 Step 5 — Server Authentication (CertificateVerify)

Possessing a certificate is not proof of ownership—an attacker could mirror a public certificate. The server must prove possession of the matching Private Key.

The CertificateVerify Proof:

The server creates a digital signature over the cumulative handshake transcript using its private key and sends it in the CertificateVerify message. The browser verifies this signature using the public key from the validated certificate.

22 Step 6 — Finished

Both parties dispatch a Finished message containing an authenticated HMAC hash of the entire handshake transcript. This guarantees no intermediate proxy modified or tampered with the handshake parameters. The TLS channel is now fully established.

23 What are Session Keys?

Using an HMAC-based Key Derivation Function (HKDF), the shared secret produces dedicated symmetric Session Keys:

Client Write Key & IV Used by the client to encrypt outgoing HTTP requests.
Server Write Key & IV Used by the server to encrypt outgoing HTTP responses.

These keys are ephemeral. Once the connection terminates, they are purged from RAM, ensuring Perfect Forward Secrecy (PFS).

24 Where Did HTTP Go? The Layered Sandwich

HTTP semantics remain unaltered; they are simply encapsulated inside TLS records:

1. Application Layer Assembly:

Browser generates standard HTTP text:
GET /profile HTTP/1.1 Host: example.com Cookie: session=123

2. TLS Record Encapsulation:

TLS encrypts this byte stream with the Session Key:
e9 4f a1 b2 9c 33 7d 12... [AEAD Encrypted Payload]

3. Server-Side Decapsulation:

The server's TLS terminator decrypts the packet back to GET /profile and delivers it to the application runtime.

25 What Do We See in the Browser? Lock Icons and Indicators

The address bar lock icon (🔒) confirms:

  • The certificate chains to a recognized root authority in the trust store.
  • The domain name matches the certificate SAN.
  • The server demonstrated possession of the private key.
  • The channel is actively encrypted using an approved modern cipher suite.

26 Does HTTPS Make Passwords "Invisible"?

No cryptographic protocol makes data universally invisible across endpoints:

On the Client Device:

Prior to encryption, credentials reside in browser memory as plaintext. Keyloggers, compromised extensions, or screen grabbers can capture them before TLS acts.

On the Server:

Once decrypted by the TLS layer, backend code (Node.js, Go, Python) inspects the password in plaintext. A compromised backend database is outside TLS protection.

HTTPS Protects Data in Transit

It secures the wire between endpoints, but cannot safeguard against compromised endpoints themselves.

27 What Does HTTPS Protect?

HTTPS comprehensively defeats network-layer threats during transit:

Eavesdropping

Adversaries on public Wi-Fi or transit routers cannot read payloads.

Tampering

ISPs cannot inject ads or malicious scripts into transit streams.

Impersonation

DNS spoofing fails because impostor servers cannot pass certificate checks.

28 What Does HTTPS NOT Protect? (Encrypted ≠ Safe Website)

HTTPS is not an antivirus or scam filter. It cannot protect against:

  • Phishing scams (fraudulent sites using valid certs)
  • Malware, ransomware, and local keyloggers
  • Weak passwords and credential stuffing
  • SQL Injection, XSS, and server vulnerabilities
  • Fraudulent merchant business operations
  • Compromised user hardware or browser extensions
Golden Rule: An encrypted connection does NOT mean the website is trustworthy!

29 Why Port 443 for HTTPS vs. Port 80 for HTTP?

IANA assigns standard default port conventions:

Standard Unencrypted HTTP: Port 80

http://example.com connects to port 80 by default.

Encrypted HTTPS: Port 443

https://example.com connects directly to port 443 to begin the TLS handshake.

30 Are HTTP and HTTPS Different Protocols?

Semantically, they are the same protocol. An application developer writing fetch('/api') handles requests identically.

HTTPS is simply HTTP payload framed inside TLS records. In HTTP/3, TLS 1.3 is embedded directly inside the QUIC transport protocol over UDP.

31 TLS 1.2 vs. TLS 1.3: What Changed?

Published in 2018 (RFC 8446), TLS 1.3 represents a major leap in latency and security:

Feature TLS 1.2 (Legacy) TLS 1.3 (Modern)
Handshake Latency 2 Round-Trips (2-RTT) 1 Round-Trip (1-RTT) + 0-RTT Resumption
Legacy Algorithms RSA key exchange, CBC, SHA-1, MD5 Completely pruned all vulnerable ciphers
Forward Secrecy Optional (server-dependent) Mandatory (Ephemeral Diffie-Hellman only)
Handshake Privacy Certificates transmitted in plaintext Certificates encrypted immediately after ServerHello

32 The Dual Cryptographic Architecture in Summary

The cryptographic architecture operates across three distinct phases:

1
Asymmetric Cryptography:

Authenticates the server's certificate against root trust anchors.

2
Ephemeral Diffie-Hellman:

Negotiates a shared secret between client and server over an open wire.

3
Symmetric Session Keys:

Protects bulk application data (HTML, JSON, CSS) at hardware line speed.

33 The Complete 16-Step HTTPS Journey

Synthesizing the complete pipeline from address bar keystroke to rendered web application:

1. User types URL: https://example.com
2. Browser parses scheme, domain, and selects default port 443.
3. DNS resolution retrieves destination IP address 93.184.216.34.
4. TCP 3-way handshake establishes a reliable transport socket on port 443.
5. Browser sends TLS 1.3 ClientHello with cipher suites, SNI, and key share.
6. Server sends ServerHello with chosen cipher and server key share.
7. Server sends its Digital Certificate Chain.
8. Browser validates certificate against local OS/browser trust store and SAN.
9. Server sends CertificateVerify proving private key ownership.
10. Both endpoints compute Diffie-Hellman secret and derive Session Keys.
11. Handshake concludes with Finished message verification.
12. Browser encrypts and sends: GET / HTTP/1.1.
13. Server decrypts request and processes application logic.
14. Server encrypts HTTP response using server session key.
15. Browser decrypts ciphertext stream into HTML and CSS.
16. The browser renders the webpage onto the user's display!

34 The Complete End-to-End Internet Stack

Our conceptual elements now coalesce into a cohesive engineering architecture:

User & Browser Engine (UI / DOM / Render Tree)
↓
HTTP (Application Layer: GET, POST, Headers, JSON)
↓
TLS (Security Layer: Encryption, Authentication, Session Keys)
↓
TCP / QUIC (Transport Layer: Port 443, Reliability, Congestion Control)
↓
IP (Network Layer: IP Addressing, Routing Tables, Packets)
↓
Physical Infrastructure (Fiber Optics, Subsea Cables, Data Centers)
↓
Destination Web & Application Server

35 The Master Mental Model: 6 Core Questions

Retain every secure web connection by answering these 6 distinct questions:

DNS "Where is the server?"

Resolves domain to an IP address.

IP "Which host?"

Routes across global networks to target machine.

Port "Which service?"

Directs to port 443 for HTTPS.

TLS "How to speak securely?"

Verifies server identity and encrypts traffic.

HTTP "What data do I want?"

Exchanges requests, responses, and headers.

Application "What code executes?"

Queries database and runs business logic.

36 A Concrete Example: https://shop.example/products

The user clicks a link, and in milliseconds a product catalogue appears. Behind the scenes:

1. DNS: shop.example resolves to IP 203.0.113.50.

2. TCP: Three-way handshake connects socket to port 443.

3. TLS 1.3: Certificate chain verified; Diffie-Hellman session keys computed.

4. HTTP: Encrypted channel carries GET /products.

5. Server: Authenticates cookies, queries DB, and prepares 200 OK JSON.

6. TLS: Response is encrypted with session keys and transmitted over transit networks.

7. UI: Browser decrypts payload and updates the DOM tree!

37 Key Takeaways

1. Encryption & Keys

Transforms plaintext into ciphertext, unreadable without mathematical keys.

2. The Hybrid Architecture

Asymmetric cryptography for identity and key agreement; symmetric session keys for bulk payload speed.

3. Digital Certificates & CAs

Cryptographic credentials binding domains to public keys, validated via the OS/browser trust store.

4. Data in Transit Protection

HTTPS defeats eavesdropping and tampering in transit, but cannot prevent phishing or malware.

38 Next Lesson: Where Does a Request Actually Go?

The browser now knows how to locate servers, establish sockets, authenticate identities, and exchange encrypted HTTP data.

Yet an essential question remains: "When a request reaches the server side, what happens inside modern infrastructure?"

Coming Next: The Complete URL Journey & Internet Infrastructure

Does a request hit a single computer, or does it navigate DNS Caching → Edge CDNs → Load Balancers → Reverse Proxies (Nginx) → Web Servers → Databases → In-Memory Caches? In the next lesson, we trace this complete infrastructure lifecycle from start to finish!

Hands-on Laboratory

HTTPS, TLS 1.3 & Cryptography Interactive Studio

Live TLS 1.3 Handshake simulator, Diffie-Hellman key agreement sandbox, and certificate chain inspector

TLS 1.3 Handshake Step-by-Step Simulation
1. ClientHello
2. ServerHello
3. Certificate
4. Finished
5. Encrypted Data
Step 1: ClientHello (Browser Proposal) Plaintext Transmission

The browser transmits ClientHello to port 443 with supported TLS versions (TLS 1.3), cipher suites, random bytes, SNI, and its speculative Diffie-Hellman public key share.

// Raw Wire Inspection
TLSv1.3 Record Layer: Handshake Protocol: Client Hello
  Version: TLS 1.3 (0x0304)
  Random: 7b 3a 91 f4 c2 8e...
  Cipher Suites: TLS_AES_256_GCM_SHA384 (0x1302), TLS_CHACHA20_POLY1305_SHA256 (0x1303)
  Extension: server_name (SNI): example.com
  Extension: key_share (ECDH x25519 public share)

Knowledge Check Quiz

1. Why does modern HTTPS use a Hybrid Cryptosystem (combining Asymmetric and Symmetric cryptography)?

2. What does a valid Digital Certificate (TLS Certificate) cryptographically prove to a client browser?

3. Which of the following threats is HTTPS UNABLE to protect against?