TLS 1.2 is a cryptographic protocol, published in 2008 as RFC 5246, that encrypts data between a browser and a server and is the version behind most HTTPS connections. It is still considered safe in 2026 when restricted to strong cipher suites with ECDHE key exchange and AES-GCM or ChaCha20-Poly1305, but TLS 1.3 is now the preferred version.
Key takeaways
- TLS 1.2 encrypts HTTPS traffic and is still safe when configured with ECDHE key exchange and AEAD cipher suites only.
- TLS 1.0 and TLS 1.1 were formally deprecated in 2021 and must not be used; TLS 1.2 is the minimum version to allow.
- TLS 1.3 is faster and safer, so enable both versions and let modern clients negotiate TLS 1.3.
Every time you see the padlock in your browser, TLS is doing the work. TLS 1.2 has carried most of that work since 2008, and it still does today — even though a newer version exists. The question is not whether TLS 1.2 works, but whether your server is running it safely.
What is TLS 1.2?
TLS 1.2 is a cryptographic protocol that encrypts data sent between a client, such as a browser, and a server. It is the version of Transport Layer Security defined in RFC 5246, published in August 2008, and it is what makes HTTPS, secure email and many VPN connections private.
TLS stands for Transport Layer Security. It is the successor to SSL, the older protocol whose name still survives in phrases like "SSL certificate". SSL 2.0 and 3.0 are long dead, and TLS 1.0 and 1.1 were formally deprecated in March 2021 by RFC 8996, which states that they "MUST NOT be used".
TLS 1.2 does three jobs at once. It encrypts traffic so eavesdroppers cannot read it, it authenticates the server (and sometimes the client) using certificates, and it checks integrity so tampered data is detected and rejected. A connection that fails any of these checks should not be trusted.
The protocol matters beyond browsers. Email servers use it for SMTP, IMAP and POP3, databases and APIs use it for connections, and payment systems rely on it. The US federal standard, NIST SP 800-52 Rev. 2, requires government TLS servers and clients to support TLS 1.2 configured with FIPS-based cipher suites, and to support TLS 1.3 as well.
How does TLS 1.2 work?
TLS 1.2 works through a handshake: the client and server agree on a protocol version and cipher suite, authenticate each other with certificates, exchange key material, and then encrypt all further traffic with a shared session key.
Here is the sequence in plain terms. First, the browser sends a ClientHello listing the TLS versions and cipher suites it supports. The server replies with a ServerHello choosing one suite, plus its certificate and key-exchange parameters. The browser verifies the certificate against trusted certificate authorities, then sends the key material. Both sides derive the same session key and switch to encrypted traffic.
Two details matter for security. The certificate is sent in the clear in TLS 1.2, so anyone watching the connection can see which site you visited. And with static RSA key exchange, the client encrypts the session secret to the server's certificate key — so if that private key is ever stolen, every recorded session can be decrypted later.
That second weakness is why forward secrecy matters. With ECDHE key exchange, each session uses a fresh, temporary key that is thrown away afterward. Even if the server's long-term key leaks later, past sessions stay unreadable. TLS 1.2 supports forward secrecy, but only if you choose cipher suites that use it.
Is TLS 1.2 still safe in 2026?
Yes, TLS 1.2 is still safe in 2026 when it is configured narrowly: ECDHE key exchange with AES-GCM or ChaCha20-Poly1305 cipher suites, a valid certificate, and TLS 1.0 and 1.1 disabled. The version itself has no known practical break; its danger is the weak options it still allows.
The attacks you hear about — BEAST, POODLE, FREAK, Logjam, ROBOT, Lucky Thirteen and Sweet32 — almost all exploited optional features of TLS 1.2, not its core design. CBC-mode ciphers enabled padding-oracle attacks. RC4 and 3DES were statistically weak or used too small a block size. Static RSA key exchange removed forward secrecy. Custom Diffie-Hellman groups enabled Logjam. TLS 1.3 fixed these by deleting the features entirely.
NIST's position confirms the picture. SP 800-52 Rev. 2, published in August 2019, requires TLS 1.2 on government systems and required TLS 1.3 support by January 1, 2024.
In November 2026 NIST announced it will revise the publication: the new version is expected to say servers "may" support TLS 1.2 rather than "should", to disallow TLS 1.0 and 1.1 generally, and to deprecate or disallow TLS 1.2 cipher suites using SHA-1, DSA, static key exchange and RSA key exchange, while raising the minimum security strength to 128 bits.
That is a downgrade in emphasis, not a deprecation. No standards body has deprecated TLS 1.2, and RFC 8446, which defines TLS 1.3, expects TLS 1.3 implementations to keep supporting TLS 1.2 for compatibility. The practical rule is simple: TLS 1.2 is safe if you lock it down, and unsafe if you leave its defaults from 2015 in place.
TLS 1.2 vs TLS 1.3: what is the difference?
TLS 1.3 is a redesign, not an incremental update. It cuts the handshake from two round trips to one, makes forward secrecy mandatory, encrypts the server certificate, and removes every weak algorithm — leaving only five AEAD cipher suites.
| Feature | TLS 1.2 | TLS 1.3 |
|---|---|---|
| Specification | RFC 5246 (2008) | RFC 8446 (2018), revised as RFC 9846 (2026) |
| Full handshake | 2 round trips | 1 round trip |
| Key exchange | RSA, DHE or ECDHE | ECDHE or DHE only, plus hybrid post-quantum groups |
| Forward secrecy | Only with (EC)DHE suites | Always |
| Bulk ciphers | AEAD, CBC, RC4, 3DES | AEAD only (AES-GCM, ChaCha20-Poly1305, AES-CCM) |
| Server certificate | Sent in the clear | Encrypted |
| Renegotiation and compression | Supported | Removed |
| Post-quantum key exchange | Not available | Hybrid groups such as X25519MLKEM768 |
The speed difference is real. On a high-latency mobile connection, saving one round trip per new connection can cut noticeable time from page loads. The security difference is bigger: TLS 1.3 removes the negotiation flexibility that attackers exploited for a decade, so a TLS 1.3 endpoint is hard to misconfigure, while a TLS 1.2 endpoint needs its cipher list reviewed.
Most sites should enable both. Modern browsers negotiate TLS 1.3 when the server allows it, and older clients fall back to TLS 1.2. That combination is what NIST required of government servers, and it is the standard recommendation from every major TLS guide, including the TLS 1.2 vs 1.3 comparison from ECDSA.com.
Which cipher suites should you allow for TLS 1.2?
Allow only ECDHE suites with AEAD ciphers: ECDHE-ECDSA-AES128-GCM-SHA256, ECDHE-RSA-AES128-GCM-SHA256, ECDHE-ECDSA-AES256-GCM-SHA384, ECDHE-RSA-AES256-GCM-SHA384, ECDHE-ECDSA-CHACHA20-POLY1305 and ECDHE-RSA-CHACHA20-POLY1305. Disable everything else.
A cipher suite name tells you four things: the key exchange, the authentication method, the bulk cipher and the hash. In the names above, ECDHE gives forward secrecy, AES-GCM and ChaCha20-Poly1305 are AEAD ciphers that encrypt and authenticate in one step, and SHA-256 or SHA-384 provides the hash. These are also the suites in the widely used intermediate server configuration profile.
Disable these explicitly: any suite starting with TLS_RSA_ (static RSA, no forward secrecy), RC4, 3DES, DES, NULL and EXPORT suites, anonymous suites, CBC-mode suites, and anything using SHA-1 or MD5. Also disable TLS compression and client-initiated renegotiation, both of which enabled attacks in the past.
Order matters too. Configure the server to prefer its own cipher order, with the strongest suites first, so a client cannot steer the negotiation toward a weaker option. On Nginx that is ssl_prefer_server_ciphers on; on Apache it is SSLHonorCipherOrder on. Test the result afterward with a scanner rather than assuming the config took effect.
How do I check if a website uses TLS 1.2?
The fastest check is in your browser: click the padlock icon, open the certificate details, and look for the TLS version. For a full report, including cipher suites and known weaknesses, use an SSL scanner.
In Chrome, click the padlock, choose "Connection is secure", then "Certificate is valid" to see the protocol version and cipher suite. Firefox shows the same information under the padlock, then "Connection secure", then "More information". If the site negotiates TLS 1.3, the browser will show that instead — that is the better result.
From a terminal, OpenSSL gives a precise answer. Run openssl s_client -connect example.com:443 -tls1_2 and look for the protocol line in the output. To test which versions a server accepts, repeat with -tls1_1 or -tls1_3: a successful handshake means that version is enabled, and a failure means it is off.
For a server you own, the most useful check is an external scan, which reports every supported version and cipher suite, plus certificate expiry and chain problems. Run our free SSL checker on your domain and fix anything it flags before your next certificate renewal.
How do I enable TLS 1.2 and disable older versions?
Enable TLS 1.2 and TLS 1.3, disable SSL 2.0, SSL 3.0, TLS 1.0 and TLS 1.1, and restrict cipher suites to the ECDHE-AEAD list above. The exact setting depends on your server, but the goal is the same everywhere.
On Nginx, set ssl_protocols TLSv1.2 TLSv1.3; and ssl_ciphers to the ECDHE-AEAD list, then reload and re-scan. On Apache, use SSLProtocol -all +TLSv1.2 +TLSv1.3 with a matching SSLCipherSuite. On Windows Server, disable old protocols under the Schannel registry keys, or use IIS Crypto to do it with a GUI. Cloudflare, AWS and other managed platforms expose the same choice as a minimum-TLS-version setting — set it to 1.2.
Before you disable anything, check your logs for old clients. Very old Android devices, legacy payment terminals and some corporate systems still speak only TLS 1.2, and a few still need TLS 1.0. If you find any, plan their upgrade rather than leaving the old version on for everyone. The small business cybersecurity checklist covers TLS alongside the other baseline controls worth reviewing at the same time.
The bottom line
TLS 1.2 is not dead, and it is not dangerous on its own — but it is only as safe as its configuration. Restrict it to ECDHE-AEAD suites, disable everything older, and enable TLS 1.3 alongside it.
That combination is what NIST requires, what modern browsers prefer, and what keeps your site working for older clients without handing attackers the weak options they need. Check your own site with the free SSL checker and fix what it finds.
Frequently asked questions
What is TLS 1.2 in simple terms?
TLS 1.2 is the encryption protocol that makes HTTPS work. When you visit a website, TLS 1.2 scrambles the data between your browser and the server so nobody in between can read or change it, and it proves the server is who it claims to be.
Is TLS 1.2 still safe in 2026?
Yes, when it is configured correctly. TLS 1.2 with ECDHE key exchange and AES-GCM or ChaCha20-Poly1305 cipher suites has no known practical break. It becomes unsafe when weak suites such as RC4, 3DES, static RSA or CBC ciphers are left enabled.
Is TLS 1.2 deprecated?
No. No standards body has deprecated TLS 1.2. RFC 8996 deprecated only TLS 1.0 and TLS 1.1 in March 2021. NIST announced in November 2026 that a future revision of its TLS guidance will downgrade TLS 1.2 from recommended to optional for servers, but that is not a deprecation.
What is the difference between TLS 1.2 and TLS 1.3?
TLS 1.3 completes its handshake in one round trip instead of two, makes forward secrecy mandatory, encrypts the server certificate, and removes all weak cipher suites. TLS 1.2 allows older, weaker options, so it needs careful configuration to be safe.
Should I disable TLS 1.2?
Not yet for most sites. Some older clients, devices and corporate systems still need TLS 1.2, and TLS 1.3 implementations are expected to keep supporting it. Disable TLS 1.0 and TLS 1.1 now, keep TLS 1.2 tightly configured, and disable it only after your traffic logs show no clients still need it.
What port does TLS 1.2 use?
TLS 1.2 does not have its own port. It runs on top of TCP, most commonly on port 443 for HTTPS, but also on ports for secure email, VPNs and other services. The version is negotiated during the handshake, not set by the port.
How can I tell which TLS version a website uses?
In Chrome, click the padlock icon, then Connection is secure, then Certificate details, which shows the TLS version. For a deeper check, run our free SSL checker or use the openssl s_client command from a terminal.
Sources
- 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
- ECDSA.com — TLS 1.2 vs TLS 1.3: what changed and what to configure
- Encryption Consulting — Understanding TLS 1.2 and TLS 1.3
- Cryptscope — TLS 1.2 vs TLS 1.3: What Changed and Why It Matters
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 NIST SP 800-52 Rev. 2, NIST's November 2026 revision announcement, RFC 5246, RFC 8446 and RFC 8996.
How we write and fact-check →