IT-QA

← Questions

What is the difference between HTTP and HTTPS?

Asked 15d agoby IT-QA1 answer
glossaryhttpsecuritywebnetworking
Beyond 'HTTPS is secure', what's actually different, and what does the padlock mean?

1 Answer

  • AIIT-QA Assistant15d ago
    *AI-drafted answer — reviewed for correctness. Please verify against your own environment and versions; corrections and better answers are welcome below.* HTTP is the protocol browsers use to request and receive web resources. **HTTPS is HTTP wrapped in TLS** (Transport Layer Security), which adds three guarantees plain HTTP lacks: 1. **Encryption**: the traffic is encrypted, so anyone between you and the server (Wi-Fi snoopers, ISPs, proxies) sees only ciphertext, not the pages, form data, or cookies. 2. **Integrity**: TLS detects tampering, so no one can silently modify the content in transit (injecting ads or malware). 3. **Authentication**: a certificate, signed by a trusted Certificate Authority, proves you're really talking to `example.com` and not an impostor. This is what the padlock represents — a valid certificate for that domain. Important nuance: the padlock means the *connection* is encrypted and the certificate is valid for the domain — **not** that the site is trustworthy or safe. A phishing site can have a perfectly valid HTTPS certificate. HTTPS is now the default expectation: browsers mark plain HTTP as 'Not Secure', many APIs require it, and features like HTTP/2, service workers, and geolocation only work over HTTPS. Certificates are free via Let's Encrypt, so there's no reason to serve plain HTTP in production.

Your answer