What is HTTPS?
HTTP protected by TLS. It encrypts exchanges, detects tampering and authenticates the server with a server certificate. URLs start with https:// and the default port number is 443. Requests and responses have the same form as in HTTP, with a TLS layer underneath.
Japanese name: HTTPS
HTTPS appears in 12 practice questions across 6 topics, including Computer Networking Basics, Web Technology Basics, Information Security Basics.
Field: Web Technology Basics
What it protects and what it does not
HTTPS protects page content, the path and query of the URL, headers and cookies from eavesdropping and tampering along the way. The server's IP address and the volume and timing of traffic remain visible, and the domain name can often be learned from DNS queries or the SNI. HTTPS also protects only the channel; it does not show that the site's operator can be trusted, because fake sites can obtain certificates and use HTTPS too. It is used together with HSTS, which prevents downgrades to HTTP, and the Secure cookie attribute, which sends cookies only over HTTPS.
FAQ
What is the difference between HTTP and HTTPS?
HTTPS encrypts HTTP exchanges with TLS and adds tamper detection and server authentication. Requests and responses have the same form, and the default ports are 80 for HTTP and 443 for HTTPS. With plain HTTP, devices along the path can read or alter the content.
Is a site safe just because it uses HTTPS?
HTTPS confirms that the traffic is not read or altered in transit and that you are connected to a server for that domain name. It does not guarantee that the site itself is genuine or harmless. Phishing sites can use HTTPS too, so check the domain name carefully.
Does HTTPS use public-key or symmetric encryption?
Both, for different jobs. The handshake uses public-key techniques for key exchange and certificate-based authentication, and the actual data is encrypted with a fast symmetric cipher using the keys created there.