Transport Layer Security
Also known as: TLS, SSL, Secure Sockets Layer
Cryptographic protocol that encrypts and authenticates data sent between applications over a network, most visibly securing web traffic as HTTPS.
Transport Layer Security (TLS) is the standard protocol for protecting data in transit between two applications, such as a browser talking to a web server, an email client talking to a mail server or two services in a data center. It provides confidentiality through encryption, integrity checks that detect tampering and authentication of the server, and optionally the client, using certificates. TLS is the security layer behind HTTPS and the padlock icon in browsers, and it also secures many other protocols.
TLS descends from Secure Sockets Layer (SSL), developed at Netscape in the mid-1990s. The IETF published TLS 1.0 in 1999, followed by version 1.1 in 2006, 1.2 in 2008 and 1.3 in 2018. Revisions removed weak options exposed by attacks such as BEAST and POODLE, while implementation flaws such as the Heartbleed bug in OpenSSL showed that sound protocols also need careful code. A connection begins with a handshake in which the parties agree on algorithms, the server proves its identity with a certificate from a certificate authority and both sides derive session keys; TLS 1.3 simplified the handshake and made forward secrecy mandatory.
TLS is among the most widely deployed security protocols in the world, protecting logins, payments and personal data across the internet. Its guarantees cover data in transit only: it does not protect information once it reaches the server, and it does not fully hide which servers a user connects to, although work such as Encrypted Client Hello aims to conceal more metadata. Sound deployment means disabling obsolete SSL and early TLS versions, keeping libraries patched and validating certificates correctly, since failures in validation enable man-in-the-middle attacks.
Key points
- TLS provides encryption, integrity and server authentication for data moving between applications.
- It evolved from Netscape's SSL, and the IETF published TLS 1.3 in 2018.
- TLS 1.3 simplified the handshake and requires forward secrecy for every connection.
- Correct certificate validation is essential; without it, interception attacks become possible.
Related entries
HTTPS
Secure version of the web's HTTP protocol that encrypts and authenticates traffic between browsers and websites using Transport Layer Security.
Certificate Authority
Trusted organization that issues digital certificates binding public keys to identities such as domain names, forming the basis of trust for HTTPS.
OpenSSL
Widely used open-source cryptography library and toolkit that implements the TLS protocol securing much of the internet's encrypted traffic.
Public-Key Cryptography
Cryptographic system that uses pairs of linked keys, one public and one private, to enable encryption and digital signatures between strangers.
Man-in-the-Middle Attack
Attack in which an adversary secretly positions themselves between two communicating parties to intercept, read or alter the traffic between them.
Let's Encrypt
Free, automated and open certificate authority, run by a nonprofit, that issues TLS certificates so websites can use HTTPS at no cost.
Internet Engineering Task Force
Open standards organization that develops the technical specifications for core internet protocols and publishes them as Requests for Comments.
Encrypted DNS
Methods such as DNS over HTTPS and DNS over TLS that encrypt domain name lookups, hiding them from eavesdroppers on the network path.
Featured in guides
Referenced by
Other entries that discuss or point to Transport Layer Security.