Warning: please only use the recommendations for Apache configuration from the answers below. For which cipher(s) to use - security norms change over time a
The cipher suites that provide Perfect Forward Secrecy are those that use an ephemeral form of the Diffie-Hellman key exchange. Their disadvantage is their overhead, which can be improved by using the elliptic curve variants (see Vincent Bernat's blog.)
The cipher suites in Apache Httpd (provided you're using mod_ssl
compiled with OpenSSL) are configured using SSLCipherSuite
, which takes a list as you would see when using the openssl ciphers
command. If you look at the OpenSSL man page, you'll find kEDH
is what you're looking for. (You can also list cipher suites individually.)