TLS (Transport Layer Security) is a cryptographic protocol that encrypts data sent between two computers over a network, so nobody in between can read or tamper with it. It also proves the server is who it claims to be, using a digital certificate. TLS is what makes HTTPS work, and the current version is TLS 1.3.
Key takeaways
- TLS encrypts traffic, authenticates the server with a certificate, and checks that data was not tampered with.
- SSL is the retired predecessor of TLS — every modern connection should use TLS 1.2 or TLS 1.3.
- TLS 1.0 and 1.1 are deprecated and must not be used; TLS 1.3 is faster and safer than TLS 1.2.
Every time you log in to your bank, buy something online or read your email, an invisible negotiation happens in milliseconds before any of your data moves. That negotiation is TLS — and without it, everything you send would travel across the internet in plain text.
What is TLS?
TLS, or Transport Layer Security, is a cryptographic protocol that secures communications over a network. It encrypts the data between two computers, proves the identity of the server, and detects any tampering along the way.
The Internet Engineering Task Force (IETF) first published TLS in 1999, and the current version, TLS 1.3, was defined in RFC 8446 in August 2018. As the RFC puts it, TLS is designed to prevent eavesdropping, tampering and message forgery between client and server applications.
You meet TLS most often as HTTPS, the secure version of the web. But TLS also protects email, messaging apps, voice calls and many other services. Whenever you see the padlock icon in your browser, TLS is doing the work behind it.
TLS gives a connection three properties:
- Encryption (confidentiality) — nobody between you and the server can read the data.
- Authentication — the server proves it is who it claims to be, using a digital certificate.
- Integrity — any change to the data in transit is detected, because each message carries a check value.
What is TLS in networking?
In networking terms, TLS sits between the transport layer and the application layer. It runs on top of a reliable connection, usually TCP, and the application — HTTP, email or anything else — sends its data through the encrypted TLS channel.
Think of it like a sealed envelope inside the postal system. TCP is the delivery service that gets the envelope from one address to another. TLS is the seal: it hides the letter inside, proves who sent it, and shows if anyone opened it on the way.
This layered design is why TLS is so widely used. An application does not need its own encryption: it hands data to TLS, which handles keys, certificates and encryption. That is why one protocol protects so many services, from web browsing to the time synchronization described in our guide to what the Network Time Protocol is, which now has an authenticated variant built on TLS.
TLS is not tied to one port. HTTPS normally uses TCP port 443, while plain HTTP uses port 80. Secure email uses TLS on ports such as 465 and 587, and other services pick their own ports. The port tells you which service you are reaching; TLS tells you the conversation is protected.
How does TLS work?
TLS works in two phases: a handshake that sets up the secure connection, then the encrypted exchange of application data. The handshake agrees on the TLS version, the cipher suite and the session keys, and it authenticates the server.
Here is what happens, step by step:
- Client hello. Your browser connects and lists the TLS versions and cipher suites it supports, plus the site name it wants to reach.
- Server hello and certificate. The server picks one version and one cipher suite, then sends its TLS certificate, which contains its public key and its identity.
- Authentication. Your browser checks the certificate: was it issued by a trusted certificate authority, does it match the site name, and has it expired or been revoked?
- Key exchange. Both sides use public-key cryptography to agree on shared session keys. The keys themselves are never sent across the network.
- Encrypted session. All further data is encrypted with the session keys using symmetric encryption, which is fast. Each message also carries a code that proves it was not altered.
Two kinds of cryptography work together here. Asymmetric cryptography (a public key and a private key) handles the handshake and authentication. Symmetric cryptography (one shared key) handles the bulk of the data, because it is much faster. The session keys are temporary and unique to each connection, so a key stolen later cannot decrypt a recorded session — a property called forward secrecy.
TLS 1.3 made the handshake faster and simpler. It completes in one round trip instead of two, and when you reconnect to a site you visited before, it can send data with zero round trips. It also removed several older, weaker options, including static RSA key exchange, so servers have fewer ways to misconfigure it.
What is the difference between TLS and SSL?
SSL (Secure Sockets Layer) was the original protocol, developed by Netscape in the 1990s. TLS is its successor: TLS 1.0 actually began development as SSL 3.1, but the name changed before publication to show it was no longer a Netscape product.
Every version of SSL is now broken or deprecated. SSL 2.0 and 3.0 have known vulnerabilities, and no modern browser or server should accept them. When people say "SSL certificate" or "SSL handshake" today, they almost always mean TLS — the old name stuck, even though the protocol underneath changed.
| SSL | TLS | |
|---|---|---|
| Developed by | Netscape, 1990s | IETF, from 1999 onward |
| Versions | SSL 2.0, SSL 3.0 | TLS 1.0, 1.1, 1.2, 1.3 |
| Status today | Deprecated and insecure | TLS 1.2 and 1.3 are current |
| Handshake | Slower, more round trips | TLS 1.3 needs one round trip |
| Cipher suites | Weak and outdated options | Modern AEAD ciphers, forward secrecy |
| Where you see the name | Legacy terms like SSL certificate | HTTPS, secure email, VPNs |
If a supplier, a scanner or an old tutorial tells you to "enable SSL", translate it to "enable TLS 1.2 or 1.3" — and check that no SSL version is actually switched on. The padlock in your browser has meant TLS for many years.
Which versions of TLS are safe to use?
Only TLS 1.2 and TLS 1.3 should be in use today. TLS 1.0 (1999) and TLS 1.1 (2006) were formally deprecated by the IETF in 2021, and browsers disabled them around 2020. They rely on older cryptography and cannot use modern encryption methods.
| Version | Defined in | Year | Status |
|---|---|---|---|
| TLS 1.0 | RFC 2246 | 1999 | Deprecated — must not be used |
| TLS 1.1 | RFC 4346 | 2006 | Deprecated — must not be used |
| TLS 1.2 | RFC 5246 | 2008 | Current — configure with strong ciphers only |
| TLS 1.3 | RFC 8446 | 2018 | Current — preferred version |
For US government systems, NIST SP 800-52 Rev. 2 requires TLS 1.2 with FIPS-based cipher suites and required support for TLS 1.3 by January 1, 2024. Government-only servers must not use TLS 1.0, and should not use TLS 1.1.
NIST announced in November 2026 that it will revise SP 800-52 Rev. 2. The planned revision aligns with the updated TLS 1.3 specification in RFC 9846, deprecates TLS 1.2 cipher suites that use SHA-1, DSA, static key exchange or RSA key exchange, and raises the minimum security strength to 128 bits. The direction is clear: TLS 1.3 first, TLS 1.2 only with modern settings, and nothing older.
For a small business, the practical rule is simple. Enable TLS 1.2 and TLS 1.3, disable TLS 1.0, TLS 1.1 and all SSL versions, and let your hosting provider or CDN handle the cipher suite choices. If a legacy device cannot do TLS 1.2, replace it rather than weakening the server for everything else.
What is a TLS certificate?
A TLS certificate is a data file installed on a server that binds a public key to an identity, usually a domain name. It is issued by a certificate authority (CA), a trusted organization that checks the applicant controls the domain before signing the certificate.
When your browser receives the certificate during the handshake, it checks three things: the certificate was signed by a CA the browser trusts, the name on the certificate matches the site you asked for, and the certificate is still valid and has not been revoked. If any check fails, the browser shows a warning instead of the page.
Certificates come in three validation levels. Domain-validated (DV) certificates only prove control of the domain and are the most common. Organization-validated (OV) certificates also check that the business exists. Extended-validation (EV) certificates involve the deepest checks. For most small businesses, a DV certificate from a trusted CA — including free ones from automated issuers — is enough.
Certificates expire, and an expired certificate produces the same browser warning as a fake one. Most public certificates now last 90 days to about a year, so renewal should be automatic. If your site ever shows a certificate warning, check the expiry date first: it is the most common cause, and our free SSL checker will show the expiry and the TLS versions a site supports.
Where is TLS used?
TLS protects far more than web pages. Anywhere data crosses a network that you do not fully control, TLS is the usual way to protect it.
- Web browsing (HTTPS): the main use case — every login, payment and form submission.
- Email: SMTP, IMAP and POP3 can all run over TLS, and STARTTLS upgrades a plain connection to an encrypted one.
- Messaging and voice: many chat and VoIP apps encrypt their traffic with TLS.
- APIs and apps: mobile apps and integrations talk to servers over HTTPS.
- VPNs and remote access: several VPN protocols use TLS to secure the tunnel.
- Network services: secure DNS (DNS over HTTPS), directory services and authenticated time sync all build on TLS.
TLS does not make a website trustworthy on its own. A phishing site can have a perfectly valid certificate — the padlock means the connection is encrypted, not that the business behind it is honest. That is why a padlock is necessary but never sufficient, as our guide to what spear phishing is explains: attackers now run their own encrypted sites too.
How do you check if a site uses TLS?
Checking takes seconds, and you should do it before entering any password or payment detail. Look for https:// and the padlock in the address bar, then click the padlock to see the certificate, the issuing CA and the expiry date.
For your own site, check more deeply. An SSL/TLS checker will report which TLS versions and cipher suites the server offers, whether the certificate chain is complete, and when the certificate expires. It will also flag common misconfigurations, such as supporting TLS 1.0 or using a weak cipher.
Watch for these warning signs in a browser:
- A full-page certificate warning — do not click through it on a site you do not run yourself.
- http:// instead of https:// on a login or checkout page.
- Mixed content warnings — the page loads over HTTPS but pulls images or scripts over plain HTTP.
- A certificate for a different domain name — a strong sign of a look-alike or misconfigured site.
If you run a site, set up monitoring for certificate expiry as well. Cysoro's certificate monitoring watches for expiry and misconfiguration so a lapsed certificate does not take your site offline or scare visitors away.
What are the common TLS mistakes?
Most TLS failures are configuration mistakes, not flaws in the protocol itself. These are the ones that appear again and again in scans and audits.
- Leaving old versions enabled. Supporting TLS 1.0 or 1.1 for one legacy client weakens the server for everyone.
- Weak cipher suites. Ciphers using RC4, 3DES, SHA-1 or static RSA key exchange should be disabled.
- Expired or missing certificates. The most common cause of browser warnings, and entirely avoidable with automated renewal.
- Incomplete certificate chains. Forgetting the intermediate certificate breaks trust on some browsers and devices.
- No HTTP to HTTPS redirect. Visitors who type the plain address stay on unencrypted HTTP.
- No HSTS header. Without HTTP Strict Transport Security, a first visit can be downgraded to plain HTTP by an attacker.
- Self-signed certificates on public sites. Browsers do not trust them, and visitors see warnings.
The bottom line
TLS is the encryption layer that makes the modern internet usable: it keeps your data private, proves the server is genuine, and detects tampering. The details — handshakes, certificates, cipher suites — matter, but the decisions are simple: use TLS 1.2 and 1.3 only, keep certificates current and automatic, and treat any browser warning as a stop sign.
Check your own site today with the free SSL checker to see which TLS versions it supports and when its certificate expires. Fixing those two things covers most of the risk, and it takes less time than reading this article did.
Frequently asked questions
What does TLS stand for?
TLS stands for Transport Layer Security. It is a cryptographic protocol that encrypts communications over a network and authenticates the parties involved. It replaced SSL, which stands for Secure Sockets Layer.
What is TLS in networking?
In networking, TLS is the layer that sits between the transport layer (TCP) and the application layer (HTTP, SMTP, and others) and encrypts the data passing through it. A TLS connection starts after TCP connects, and the application data then travels inside the encrypted TLS channel.
Is TLS the same as SSL?
No, although the names are often used interchangeably. SSL was the original protocol developed by Netscape in the 1990s. TLS is its successor, first published in 1999, and SSL versions are now insecure and deprecated. People still say SSL certificate when they mean a TLS certificate.
Is TLS 1.2 still safe to use?
Yes. TLS 1.2 is still widely used and is required by NIST guidance for US government systems, as long as it is configured with strong cipher suites. TLS 1.3 is newer, faster and removes several weak options, so it should be preferred where both sides support it.
What port does TLS use?
TLS itself does not have a single port; it secures whatever service runs over it. HTTPS uses TCP port 443, secure email submission uses port 587 with STARTTLS or port 465, and secure LDAP uses port 636. Unencrypted HTTP uses port 80.
How do I know if a website uses TLS?
Look for the padlock icon in the browser address bar. Clicking the padlock shows the certificate details, including who issued it and when it expires. A site that loads without the padlock has no TLS protection.
Does TLS hide which websites I visit?
TLS encrypts the content of your traffic, such as passwords, messages and page contents, but it does not hide everything. An observer can usually still see the domain you connect to, from the DNS lookup and the Server Name Indication in the handshake, and the timing and size of the traffic.
Sources
- IETF — RFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3
- Cloudflare — What is Transport Layer Security (TLS)?
- Cloudflare — What happens in a TLS handshake?
- NIST — SP 800-52 Rev. 2: Guidelines for the Selection, Configuration, and Use of TLS Implementations
- NIST — NIST to Revise SP 800-52 Rev. 2, Guidelines for TLS Implementations
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 IETF RFC 8446, Cloudflare's TLS documentation and NIST SP 800-52 Rev. 2.
How we write and fact-check →