Skip to content
IT glossary
SecurityUpdated December 3, 2026

TLS

Transport Layer Security (TLS) protects data as it travels over a network. It prevents eavesdropping and undetected changes, and lets a client verify the identity of the server it connects to.

Also known as: SSL, SSL-сертификат

What TLS protects

When you submit a form over HTTPS, TLS keeps someone watching the network from reading the form or silently changing its contents. It also lets your browser verify that the server is authorized to use the hostname in the address bar. That last part matters: encryption alone would not help if your browser set up an encrypted connection with the wrong server. TLS protects data in transit between its endpoints; it does not protect whatever the receiving application stores or logs.

What happens during a handshake

In a typical new TLS 1.3 connection, the client offers protocol options and the server selects compatible ones. The two sides exchange public key shares and independently derive shared secrets without sending those secrets over the network. The server presents a certificate chain and signs the handshake to prove it holds the private key associated with its certificate. The client verifies the signature, checks that the certificate is valid for the requested hostname and current time, and checks that the chain leads to a root it trusts.

Both sides derive symmetric traffic keys, with different keys for sending and receiving. Those keys encrypt application data and let the receiver detect tampering. The certificate is used to authenticate the server, not to encrypt each HTTP request.

Example: HTTPS through a load balancer

Suppose a browser connects to a load balancer, which forwards the request to a backend service. If the load balancer terminates TLS, it decrypts the request and can route it based on the HTTP path. The browser's TLS connection ends there. Plain HTTP to the backend leaves that hop unencrypted; HTTPS creates a separate TLS connection for that hop. For service-to-service traffic, teams sometimes use mutual TLS (mTLS), in which both sides present certificates and verify the other's identity.

Why people still say “SSL certificate”

SSL is the obsolete predecessor of TLS. The phrase “SSL certificate” stuck, but modern HTTPS typically uses an X.509 certificate with TLS. A certificate binds a public key to an identity, such as a hostname. It does not contain the private key or tell you whether the site itself is trustworthy.

How it comes up in interviews

A common troubleshooting question is why a site works in a browser but fails from a backend client. Compare the hostname each client uses, the certificate chain the server actually sends, and the roots each client trusts. For example, a browser may already have a cached intermediate certificate that the server fails to send, while a fresh backend client cannot build the chain. Fix the chain rather than turning off verification: keeping encryption without checking the server's identity does not provide the same protection.