TLS encryption is the protocol that secures data sent between two computers, most visibly between your browser and a website. It authenticates the server with a digital certificate, agrees secret encryption keys through a handshake, and then encrypts everything sent afterwards, so eavesdroppers cannot read it and tampering is detected. The current version is TLS 1.3, defined in RFC 8446, which completes the handshake in one round trip and requires forward secrecy.
Key takeaways
- TLS authenticates the server, agrees secret keys and then encrypts all data sent over the connection.
- TLS 1.3 is the current version: a one-round-trip handshake, encrypted certificates and mandatory forward secrecy.
- TLS does not hide who you connect to, and it cannot protect you if the server or your device is already compromised.
Every time you log in to your bank, check email or buy something online, TLS is working in the background. It is the protocol behind the padlock in your browser — and it is the reason your password does not travel across the internet in plain text.
What is TLS encryption?
TLS, or Transport Layer Security, is a protocol that secures communication between two computers by authenticating at least one side, agreeing secret encryption keys, and then encrypting everything sent over the connection. Its stated goal, in RFC 8446, is to prevent eavesdropping, tampering and message forgery.
You meet TLS most often as HTTPS: the web. But the same protocol protects email, messaging apps, APIs and many other services. Whenever data needs to travel across a network you do not control, TLS is the usual answer.
TLS gives you three things. Authentication: the server proves it is who it claims to be, using a digital certificate. Confidentiality: the data is encrypted, so only the two ends can read it. Integrity: any tampering with the data in transit is detected, because each message carries a check that fails if the message was altered.
RFC 8446 defines the current version of the protocol and its security goals: to prevent eavesdropping, tampering and message forgery.
How does TLS encryption work?
TLS works in two phases: a handshake that authenticates the server and agrees secret keys, then a record phase that encrypts and protects all the data that follows. The keys are never sent across the network; both sides compute the same keys independently.
The handshake starts when your browser sends a ClientHello message listing the TLS versions and cipher suites it supports, plus a key share for the key exchange it expects the server to pick. The server replies with a ServerHello, its own key share, and — in TLS 1.3 — its certificate and a Finished message, all encrypted.
Your browser checks the certificate: is it signed by a trusted certificate authority, does it match the site name, and has it expired? If the checks pass, both sides derive the same session keys from the exchanged key shares and start encrypting. From that point, every message is encrypted and authenticated.
The encryption itself uses symmetric cryptography — the same key encrypts and decrypts — because it is fast. Asymmetric cryptography is used only in the handshake, to authenticate the server and agree the symmetric keys safely. The keys are derived with a key schedule based on HKDF, as defined in RFC 8446.
TLS vs SSL: what is the difference?
SSL was the original protocol, created in the 1990s. TLS is its successor, and every SSL version is now insecure. When people say SSL today, they almost always mean TLS — but the distinction matters when you configure a server.
| Version | Status | Notes |
|---|---|---|
| SSL 2.0 / 3.0 | Insecure, do not use | Broken by design; POODLE and other attacks |
| TLS 1.0 / 1.1 | Deprecated in 2021 (RFC 8996) | Weak ciphers, no longer supported by browsers |
| TLS 1.2 | Still widely used | Secure when configured well; two-round-trip handshake |
| TLS 1.3 | Current standard (RFC 8446, 2018) | One-round-trip handshake, forward secrecy required |
If your server still allows TLS 1.0 or 1.1, turn them off. Modern browsers no longer accept them, and keeping them enabled only helps attackers. The same goes for old cipher suites such as RC4, 3DES and anything using SHA-1 or MD5.
What changed in TLS 1.3?
TLS 1.3 is not a small update. It redesigned the handshake to be faster and removed the weak cryptography that had accumulated in earlier versions. It was standardized as RFC 8446 in August 2018.
- One round trip: the client sends a key share in its first message, so the server can reply with keys immediately. TLS 1.2 needed two round trips before data could flow.
- Encrypted certificate: everything after the ServerHello is encrypted, so the server certificate is no longer visible to eavesdroppers.
- Fewer cipher suites: TLS 1.3 defines only a small set of modern AEAD suites, including AES-GCM and ChaCha20-Poly1305. Static RSA key exchange, SHA-1, MD5 and compression are gone.
- Forward secrecy, always: session keys come from an ephemeral Diffie-Hellman exchange, so a stolen long-term server key cannot decrypt past sessions.
- 0-RTT resumption: a returning client can send data in its very first message, at the cost of weaker replay protection — use it only for requests that are safe to repeat.
The practical result is faster page loads and less room for misconfiguration. Most of the internet now negotiates TLS 1.3 by default, and you should accept nothing older than TLS 1.2 on your own servers.
Cloudflare's overview of TLS 1.3 explains how the one-round-trip handshake works and why it is faster and safer than TLS 1.2.
How do TLS certificates work?
A TLS certificate binds a public key to a domain name, and a trusted certificate authority (CA) signs it to vouch for that binding. Your browser trusts a list of CAs; when it sees a certificate signed by one of them, for the right domain, that has not expired or been revoked, it accepts the server as genuine.
The certificate does not encrypt anything by itself. Its job is authentication: it lets your browser know the public key it uses in the handshake really belongs to the site you asked for. Without it, an attacker could sit between you and the site and present their own key.
Certificates expire — usually after 90 days for automated issuers such as Let's Encrypt, or up to about a year for others — and an expired certificate breaks the site for visitors. That is why monitoring matters: our free SSL checker shows a site's certificate expiry date.
Cysoro's certificate monitoring warns you before expiry.
Domain-validated (DV) certificates prove control of a domain. Organization-validated (OV) and extended-validation (EV) certificates add checks on the organization behind the site, but all three encrypt equally well. The padlock means the connection is encrypted; it does not mean the site itself is honest.
What does TLS not protect against?
TLS protects data in transit. It does not protect data at rest, it does not verify that a website is trustworthy, and it does not hide which server you connect to. Knowing its limits keeps you from over-trusting the padlock.
- Phishing: a scam site can have a valid certificate and a padlock. TLS only proves the connection to that site is encrypted, not that the site is legitimate.
- Malware and compromised endpoints: if your device or the server is infected, TLS encrypts the attacker's traffic just as happily as yours.
- Server name visibility: the server name (SNI) is sent before encryption in most connections, so network observers can see which site you visit, even if they cannot see the content. Encrypted ClientHello (ECH) is changing this, but it is not yet universal.
- Metadata: timing, packet sizes and connection patterns can still reveal information about what you are doing.
Our guide to spear phishing explains how attackers exploit the trust people place in the padlock.
Our Wi-Fi security guide covers what protects you when the network itself is hostile.
How do you check a site's TLS?
Check a site's TLS in seconds: look for the padlock and https, click the padlock for certificate details, and run a full scan with an SSL checker for the TLS version and configuration problems. Do this for your own site regularly, not just once.
- Click the padlock in your browser and open the certificate details. Check the domain name, the issuer and the expiry date.
- Run an SSL checker on the domain to see which TLS versions and cipher suites the server supports, and whether it supports TLS 1.3.
- Look for weak settings: TLS 1.0 or 1.1 enabled, old cipher suites, missing HTTP Strict Transport Security (HSTS) or a certificate chain problem.
- Check your own site after every change: a server update or a certificate renewal can silently break TLS. Automate the check with monitoring.
How should website owners configure TLS?
Website owners should enable TLS 1.2 and 1.3 only, use strong cipher suites, enable HSTS, and automate certificate renewal and expiry monitoring. Most of this is a one-time setup with a regular check afterwards.
Start by getting a certificate from a trusted CA — automated issuers such as Let's Encrypt work well for most sites — and configure your server to prefer TLS 1.3, then TLS 1.2. Disable everything older, and disable weak ciphers. Then add HSTS, which tells browsers to always use HTTPS for your domain, closing the downgrade gap.
Finally, watch the expiry date. Certificates expire, and an expired certificate takes your site offline for visitors just as surely as a server outage. Set up expiry alerts well before the date, and test renewal in advance. If you run a small business site, our small business cybersecurity checklist puts TLS alongside the other basics worth checking each quarter.
The bottom line
TLS is the quiet protocol that makes the modern web usable: it authenticates the server, agrees secret keys without sending them, and encrypts everything that follows. TLS 1.3 made it faster and harder to misconfigure, but it still depends on good setup and a valid certificate.
As a visitor, check for the padlock — and remember it proves encryption, not honesty. As a site owner, enable TLS 1.2 and 1.3 only, use strong ciphers, and monitor your certificate. You can check any site in seconds with the free SSL checker.
Frequently asked questions
What is TLS encryption in simple terms?
TLS encryption is the system that turns the data between your browser and a website into unreadable code while it travels across the internet. Only the browser and the website can decode it, so anyone listening in between sees scrambled data instead of your passwords or messages.
What is the difference between TLS and SSL?
SSL was the original protocol, and TLS is its successor. SSL versions are all insecure and should not be used. TLS 1.0 and 1.1 were deprecated in 2021, and TLS 1.2 and 1.3 are the versions in use today. People still say SSL out of habit, but what they mean is TLS.
Is TLS the same as HTTPS?
No. HTTPS is HTTP carried over TLS. HTTP is the language your browser and a website use to exchange pages, and TLS is the encrypted tunnel that language travels through. A site with HTTPS is using TLS; a site with plain HTTP is not.
How can I check if a website uses TLS?
Look for the padlock icon and https in your browser address bar, then click the padlock to see the certificate details. For a deeper check, use a free SSL checker to see the TLS version, the certificate expiry date and any configuration problems.
Does TLS hide my browsing from my internet provider?
Only partly. TLS encrypts the content of your traffic, so your provider cannot read the pages you visit or the data you send. It can still see which server you connect to, because the server name is sent before encryption in most connections, unless encrypted ClientHello is used.
What is TLS 1.3 and why does it matter?
TLS 1.3 is the current version of the protocol, standardized in 2018. It completes the handshake in one round trip instead of two, encrypts the server certificate, removes old weak cipher suites and requires forward secrecy, so a stolen server key cannot decrypt past sessions.
Can TLS be broken?
TLS itself, when configured with modern versions and strong cipher suites, is not practically breakable. Attacks usually target weak configuration, expired or misissued certificates, outdated versions, or the endpoints themselves, such as malware on your device or a compromised server.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against RFC 8446, Cloudflare's TLS 1.3 overview and Gcore's TLS 1.3 explainer.
How we write and fact-check →