TLS Cipher Suites Explained

A cipher suite is the four-part recipe a TLS handshake agrees on: key exchange, authentication, bulk cipher and MAC — and its name reads left to right, so ECDHE-RSA-AES256-GCM-SHA384 tells you the whole recipe before a single byte is encrypted. The suite your browser negotiates is the strongest both sides support — but the suites your server merely offers are what compliance scanners grade, and that list is usually longer and weaker than anyone remembers. This guide explains the name, why the offered list matters, what TLS 1.3 changed, the weak families and their history, and what to fix first — then shows you how to measure your own server with the TLS Cipher Suite Scanner.

What a cipher suite is, in one sentence

A cipher suite names the four things a TLS handshake must agree on before it can protect anything: how the two sides exchange keys, how the server proves who it is, which bulk cipher encrypts the traffic, and how each record is authenticated. In TLS 1.2 and below, all four are named in the suite: ECDHE-RSA-AES256-GCM-SHA384 means ephemeral elliptic-curve Diffie-Hellman for key exchange, RSA for authentication, AES-256 in GCM mode for the bulk cipher, and SHA-384 for the message authentication — reading left to right, in that order. TLS 1.3 shortened the names to just the bulk cipher and hash, because key exchange and authentication moved out of the suite and into separate extensions.

The two sides negotiate the suite at the start of the handshake: the client sends the list it supports, the server picks one it also supports — usually the strongest in the client's list — and the rest of the handshake runs under that choice. That is why the cipher your browser reports is almost always a strong one: both sides prefer strong suites, and the negotiation picks the best common option. But negotiation only picks from what the server offers. A server whose list still contains RC4 or 3DES will happily agree to them when the client offers nothing better — an old embedded device, a legacy library, or an attacker who deliberately offers only the weak suites to see if the server bites.

Why the offered list matters more than the negotiated cipher

The cipher you see in your browser is a sample of one: one client, one handshake, the best outcome. The offered list is the server's whole policy — every suite it would accept from any client — and that is what a compliance scan grades. PCI DSS, the Mozilla guidelines and the SSL Labs test all look at the offered list, because the threat is not the modern browser that negotiates AES-GCM; it is the old client that cannot do better, and the attacker who can choose which suite to offer. A server that negotiates strong by default and still offers RC4 fails those checks, and fails them correctly: the weak suite is a live capability, not a historical footnote.

The offered list also drifts. Servers inherit their cipher list from the operating system or distribution defaults, and those defaults were chosen for compatibility with clients that no longer exist. Nobody adds RC4 to a server on purpose in 2026; it survives because nobody removed it — the config was copied from a tutorial written a decade ago, or the defaults were never reviewed after an upgrade. The result is a server that looks modern in every browser test and still answers an RC4 handshake. The only way to know is to ask: offer each suite alone, one handshake at a time, and record which ones the server accepts — which is exactly what the TLS Cipher Suite Scanner does.TLS Cipher Suite Scanner result for the legacy demo server: Score 24/100 — Poor, dangerous-suites banner, 1 strong, 7 weak and 5 dangerous suites offered, and the suite table

TLS 1.3 and the fixed five suites

TLS 1.3, standardised in RFC 8446, did something radical for a protocol famous for optionality: it fixed the cipher suite list at five, and removed the weak choices from the menu entirely. The five are TLS_AES_256_GCM_SHA384, TLS_CHACHA20_POLY1305_SHA256, TLS_AES_128_GCM_SHA256, TLS_AES_128_CCM_SHA256 and TLS_AES_128_CCM_8_SHA256 — all AEAD, all forward-secret by construction, no CBC, no RC4, no static RSA, no negotiation of the key exchange inside the suite name. A server that only speaks TLS 1.3 cannot offer a weak suite, because the protocol no longer has a way to express one.

That is the direction of travel, and it is also why the scanner still probes TLS 1.2 suites: most servers still speak TLS 1.2 alongside 1.3, for clients that have not caught up, and the weak suites live in that 1.2 list. Offering TLS 1.3 does not clean the 1.2 list — the two are negotiated independently, and a client that only speaks 1.2 gets the 1.2 list in full. So the question is not whether the server supports 1.3 (the SSL Grader answers that, with the protocol versions and a letter grade); the question is what the 1.2 list still contains. The scanner reports the TLS 1.3 suites as a group — this client's TLS library has no per-suite selection for 1.3, so only the negotiated suite is proven supported — and enumerates the 1.2 list suite by suite.

The weak families and their history

RC4 is the oldest failure still found in the wild. It is a stream cipher whose keystream has measurable biases — patterns in the output that leak plaintext over many connections — and the IETF prohibited its use in TLS in RFC 7465 in 2015. 3DES is subtler: it is not broken in the key, but in the block. A 64-bit block means the birthday bound arrives after about 32 GB of traffic on a single connection — the SWEET32 attack — and a long-lived connection, such as a VPN or a database link, can reach that bound. Both are legacy of an era when export rules limited key sizes, and both should have been removed years ago. The EXPORT suites are that history in fossil form: 512-bit keys, deliberately weakened for export in the 1990s, and the FREAK attack showed a server could be tricked into using them.

CBC suites are a different kind of weak: not broken in principle, but carrying a long history of padding-oracle attacks — Lucky13 and its predecessors — that exploited the gap between encryption and authentication in the old encrypt-then-MAC design. TLS 1.2 mitigations exist, and a CBC suite with a modern implementation is not immediately exploitable, but AEAD suites (GCM, CHACHA20-POLY1305, CCM) remove the entire class of attack by combining encryption and authentication in one construction. That is why the scanner calls CBC acceptable at best and never strong. NULL suites encrypt nothing at all, and anonymous suites (ADH, AECDH) authenticate nobody — either one is a TLS handshake that provides no security, and both belong in the dangerous category with RC4.

How to read the scanner's categories — and what to fix first

The scanner sorts every suite into one of four categories. Strong means TLS 1.3, or an ECDHE/DHE suite with an AEAD bulk cipher (GCM, CHACHA20-POLY1305, CCM) — forward-secret by construction. Acceptable means an ECDHE/DHE CBC suite with SHA-256 or SHA-384: forward-secret, with TLS 1.2 mitigations, but prefer AEAD. Weak means a static-RSA suite (no forward secrecy), a CBC suite with SHA, or 3DES. Dangerous means RC4, NULL, EXPORT or anonymous suites — ciphers that must never be offered. Fix in that order: dangerous first, then static-RSA (a future key compromise decrypts today's recorded traffic), then CBC. A server whose supported list is all strong needs nothing.

The fixes are one line in the server configuration, not a project. For nginx, set ssl_ciphers to the Mozilla intermediate list (or your own AEAD-only list) and reload; for Apache, the same list goes in SSLCipherSuite, with SSLProtocol limited to TLSv1.2 and TLSv1.3. The Mozilla SSL Configuration Generator builds the exact lines for your server version and compatibility target — start from its intermediate profile and tighten from there. Then re-scan: the scanner caches results for one hour, so wait for the cache to expire (or use a fresh check) and confirm the weak suites are gone from the live server, not just from the file. If they are still offered after a reload, you are scanning a load balancer or CDN edge, not the origin you edited.

What the scanner cannot see

Three honest limits. First, 3DES and RC4 (and the EXPORT suites built on them) are untestable from this client: the checker's TLS library cannot offer them at all, so the probe never reaches the server and their absence is not proven. Untestable is not “not offered” — check those two families locally with testssl.sh, which can offer them. Second, DHE forward secrecy depends on the server's Diffie-Hellman parameter size, and the standard TLS client cannot measure it: a DHE suite with 1024-bit parameters is far weaker than the same suite with 4096-bit parameters, and the scanner can only flag the suite and tell you to check the parameter size on the server. Third, the scanner measures cipher suites, not TLS versions — for the protocol matrix and the grade, use the SSL Grader, and for the presented certificate, the SSL Checker.

The candidate list itself is a curated snapshot of notable suites, not every IANA suite — a server could offer an obscure suite this list never asks about, and the scanner says nothing about it. And the scan is a snapshot from one network at one moment: servers behind a load balancer can answer different handshakes on different connections, and cipher support changes only when the configuration is reloaded, so a result from before a fix stays cached for an hour. Within those limits, the answer is exact: for each of the 48 suites probed, the server either completed a handshake offering only that suite, refused it, or could not be asked. Run the scan on your own server with the TLS Cipher Suite Scanner.

Sources

Frequently asked questions

My server negotiates a strong cipher — why does the scanner still flag it?

Because the negotiated cipher is the strongest suite both sides support, not the weakest the server would accept. A server that negotiates AES-256-GCM with your browser can still accept RC4 from a client that offers nothing better — and compliance scanners grade the offered list, not the negotiated cipher. Remove the weak suites from the server cipher configuration, reload, and re-scan.

Why are 3DES and RC4 listed as untestable instead of not offered?

Because this checker's TLS library cannot offer those suites at all — OpenSSL 3 refuses to select them even at the lowest security level, since the legacy provider is not loaded. The probe never reaches the server, so the tool cannot prove whether the server would accept them. Untestable is the honest verdict; reporting them as “not offered” would be a guess. Check those two families locally with testssl.sh.

I removed the weak suites but the scanner still shows them — why?

Three usual causes. First, results are cached for one hour — re-scan after the cache expires. Second, the server may not have reloaded its TLS configuration — restart or reload the service after editing it. Third, you may be scanning a load balancer or CDN edge that serves a different configuration than the origin you edited — check which server actually terminates TLS for the hostname.