TLS/HTTPS
Securing the Web
Understand how Transport Layer Security and HTTPS protect data in transit: what they guard against, and what still remains your responsibility.
What Is HTTPS?
HTTPS stands for HyperText Transfer Protocol Secure. It is the secure version of HTTP: the protocol your browser uses to load every web page. The "S" means the connection is encrypted using TLS (Transport Layer Security).
What Is TLS?
Transport Layer Security (TLS) is a cryptographic protocol that provides three core guarantees for any data traveling between two computers over a network:
Why Does TLS Matter?
Without TLS, anyone sitting between you and the server: your ISP, a hacker on public Wi-Fi, or a rogue router: can read, modify, or steal everything you send, including passwords, credit card numbers, and private messages.
The TLS Handshake
Certificates and Trust
How does your browser know a server is genuine? The server presents a digital certificate issued by a trusted Certificate Authority (CA). The certificate contains the server's public key and is digitally signed by the CA.
HTTP vs HTTPS
| HTTP | HTTPS | |
|---|---|---|
| Encryption | None | TLS encryption |
| Port | 80 | 443 |
| Eavesdropping | Trivial | Prevented |
| Tampering | Undetected | Detected |
| Server identity | Unverified | Certificate verified |
| URL in address bar | http:// | https:// + padlock |
What TLS Protects
What TLS Does NOT Protect
How to Verify a Secure Connection
Example: Logging Into a Bank
Example: Phishing With a Padlock
Example: Public Wi-Fi Risk
TLS Versions Over Time
| Version | Year | Status |
|---|---|---|
| SSL 2.0 / 3.0 | 1995 / 1996 | Deprecated: insecure |
| TLS 1.0 | 1999 | Deprecated |
| TLS 1.1 | 2006 | Deprecated |
| TLS 1.2 | 2008 | Still widely used |
| TLS 1.3 | 2018 | Current standard |
Common Mistakes
Summary: TLS/HTTPS at a Glance
| Concept | Key Takeaway |
|---|---|
| TLS | Cryptographic protocol for encryption, integrity, and authentication |
| HTTPS | HTTP + TLS: the secure version of web browsing |
| Certificate | Proves server identity, issued by a trusted Certificate Authority |
| Handshake | Client and server negotiate encryption and exchange keys |
| Protects | Data in transit, server identity, data integrity |
| Does NOT protect | Data at rest, metadata/DNS, phishing, client-side malware |
Question 1 of 5
What does the "S" in HTTPS stand for, and what technology provides it?
Question 2 of 5
Which of the following is NOT a protection provided by TLS?
Question 3 of 5
A website displays a padlock icon and uses https://. Which statement is true?
Question 4 of 5
During the TLS handshake, the server sends a digital certificate. What is the primary purpose of this certificate?
Question 5 of 5
You are browsing on public Wi-Fi at a coffee shop. Which of the following can an attacker on the same network still observe, even if you use HTTPS?