A security administrator is configuring a web server to use TLS. They want to optimize performance while maintaining strong security. Which cipher suite should they prioritize?
Trap 1: TLS_DHE_RSA_WITH_AES_128_CBC_SHA
DHE provides forward secrecy but RSA certificates are larger, and CBC mode is slower than GCM.
Trap 2: TLS_RSA_WITH_AES_128_CBC_SHA256
RSA key exchange lacks forward secrecy, and CBC mode is less efficient than GCM.
Trap 3: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
This is also strong but uses RSA certificates, which are larger than ECDSA for equivalent security.
- A
TLS_DHE_RSA_WITH_AES_128_CBC_SHA
Why it fails: DHE provides forward secrecy but RSA certificates are larger, and CBC mode is slower than GCM.
- B
TLS_RSA_WITH_AES_128_CBC_SHA256
Why it fails: RSA key exchange lacks forward secrecy, and CBC mode is less efficient than GCM.
- C
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
Why it fails: This is also strong but uses RSA certificates, which are larger than ECDSA for equivalent security.
- D
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 uses elliptic-curve cryptography, giving equivalent security to RSA with far smaller keys and faster computation, while ECDHE provides forward secrecy and AES-GCM supplies authenticated encryption. This satisfies the stem's demand for strong security with optimised performance, unlike heavier RSA-based suites.