NewWork mode: your Claude Code or Codex on work calls, answering from your project's codeSkip to content
IT glossary
BackendUpdated December 3, 2026

HTTPS

It’s HTTP sent over a protected connection. The client checks that it’s talking to the intended server, and the connection keeps requests and responses private and prevents undetected tampering.

What HTTPS protects

When you submit a form over plain HTTP, someone who can observe the connection can read the form data. With HTTPS, the client and server exchange HTTP messages over a connection secured by Transport Layer Security (TLS). An observer can’t read the request or response, and tampering with the protected data is detected. The application still uses the same methods, headers, and status codes: a POST is still a POST.

What happens when a client connects?

In a typical certificate-based TLS handshake, the server presents a certificate. The client checks that it covers the hostname in the URL, is within its validity period, and chains back to a trusted certificate authority. The server proves that it holds the corresponding private key. The handshake also lets both sides derive shared traffic keys, which they use to encrypt data and verify its integrity. The certificate authenticates the server; it isn’t what encrypts the HTTP messages.

Port 443 is the default for HTTPS, not a requirement. HTTPS with HTTP/1.1 or HTTP/2 uses TLS over TCP. HTTP/3 instead runs over QUIC, which integrates TLS 1.3 and uses UDP.

Example: follow a request through a load balancer

Suppose a browser sends GET /orders?limit=10 to https://api.example.com. TLS protects the path, query string, and headers on that connection. It does not hide the destination IP address, and the hostname may still be visible through other mechanisms, such as an unencrypted DNS lookup.

If a load balancer terminates TLS, it decrypts the request before forwarding it. The browser-to-balancer connection is encrypted, but the balancer-to-app connection might use plain HTTP or a separate TLS session. Seeing https:// in a browser tells you about the client-facing connection, not every hop behind it.

Common misconceptions

  • Only login and checkout need HTTPS. Even a public page should use it: the visitor needs to know that the HTML and scripts arrived without being modified in transit.
  • HTTPS makes secrets in URLs safe. HTTPS protects the query string on the wire, but the URL can still end up in access logs or browser history. Don’t put passwords or long-lived tokens in it.
  • Redirecting HTTP is the same as requiring HTTPS. A redirect arrives only after a plaintext request has already been sent. With HTTP Strict Transport Security (HSTS), a browser that already knows the policy switches to HTTPS before sending the request. Preloading can provide that protection on a first visit, too.

What interviewers look for

A common follow-up is: “Where is TLS terminated in this deployment?” Trace each connection, name the component presenting the certificate, and say which hops are encrypted. Keep server identity separate from application permissions: a valid certificate for the API does not tell the API whether a caller may read an order.