# Transport Layer Security (TLS)

> A safe layer that locks data between two computers. It checks who is who.

**Field:** Infrastructure  
**Category:** Networking  
**Also known as:** TLS, SSL, SSL/TLS, TLS 1.3

## Think of it like

Think of it like a secret handshake and then a secret code. Only the two friends know what is said.

## Definition

TLS is the layer that locks data between two computers. It also proves who is on the other end. At the start, the two sides do a handshake. The server shows a certificate to prove its name, and both agree on a secret key. After that, everything they send is scrambled with that key. TLS replaced the older SSL, and its newest version, TLS 1.3, came out in 2018.

## Example

Emma sets up HTTPS on a server with a free TLS certificate. Visitors now see a lock icon next to the address.

## Why it matters

TLS is what keeps HTTPS, safe email and lots of other links private.

## Common mistake

Letting the server's certificate run out. Browsers then show a big warning, and most people leave.

## Three principles

- **Handshake first.** Agree on a secret key.
- **Certificate.** Proves the server's name.
- **Then all is scrambled.** No one in between can read it.

## Related terms

- [HyperText Transfer Protocol Secure (HTTPS)](https://learn.benibix.com/term/infrastructure/https)
- [HyperText Transfer Protocol (HTTP)](https://learn.benibix.com/term/infrastructure/http)
- [Network Port](https://learn.benibix.com/term/infrastructure/port)
- [Internet Protocol Address (IP Address)](https://learn.benibix.com/term/infrastructure/ip-address)
- [TLS Certificate](https://learn.benibix.com/term/infrastructure/tls-certificate)
- [Public-Key Cryptography](https://learn.benibix.com/term/development/public-key-cryptography)
- [Man-in-the-Middle Attack (MITM)](https://learn.benibix.com/term/infrastructure/man-in-the-middle-attack)

## Taught in

- [HTTPS and TLS Encryption](https://learn.benibix.com/learn/infrastructure-networking/https-and-tls-encryption): Computer Networking, 12/13

---

Source: https://learn.benibix.com/term/infrastructure/tls
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
