Picking strong TLS cipher suites
A TLS cipher suite bundles the algorithms used for a connection: the key-exchange method, the certificate authentication type, the bulk encryption cipher and the hash. This reference lists the common suites for TLS 1.3 and TLS 1.2 with their full IANA names, a forward-secrecy flag and a security rating so you can build a hardened server configuration.
How it works
In TLS 1.3 the cipher suite only names the AEAD cipher and hash — key exchange is always ephemeral and negotiated separately, so every 1.3 suite has forward secrecy. In TLS 1.2 the full suite name encodes all four parts:
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
│ │ │ │
│ │ │ └─ hash (PRF / HMAC)
│ │ └───────────── bulk cipher + mode
│ └────────────────────── certificate auth (RSA / ECDSA)
└──────────────────────────── key exchange (ECDHE / DHE / RSA)
The server offers an ordered list; with server-cipher-order enabled it picks the
first suite both peers support. Rank AEAD suites (GCM, ChaCha20-Poly1305) with
ephemeral key exchange (ECDHE, DHE) first, and disable static-RSA, CBC-SHA1,
RC4 and 3DES suites entirely.
Tips and notes
- TLS 1.3 has only five suites and needs no manual ordering for most servers.
- For TLS 1.2, require
ECDHEso every session has forward secrecy. - Match Mozilla’s “Intermediate” or “Modern” SSL configuration as a baseline.
- Verify a live endpoint with
testssl.shor the SSL Labs server test.