Disable Specific Cipher Suites Apache with WHM/cPanel

opensslssl

We are operating a few web servers that have WHM/cPanel installed so we can easily mange our sites and projects. To ensure our information and users information is secured, we have been running some security tests. All our servers currently supporting anonymous cypher suites; specifically:

TLS_ECDH_anon_WITH_RC4_128_SHA (0xc016)
TLS_ECDH_anon_WITH_AES_128_CBC_SHA (0xc018)
TLS_ECDH_anon_WITH_3DES_EDE_CBC_SHA (0xc017)
                 and
TLS_ECDH_anon_WITH_AES_256_CBC_SHA (0xc019) 

What is the best way to disable these without messing up our websites?

Best Answer

To add those directives to Apache via WHM you'd add them via :

Apache Configuration > Include Editor > Pre Main Include

and of course with the new issue with Poodle and disabling SSL v3 you'd probably want to make it :

SSLProtocol ALL -SSLv2 -SSLv3
SSLHonorCipherOrder On
SSLCipherSuite ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS

However I believe you may also need to update the SSL Cipher suite settings within

Apache Configuration > Global Configuration > SSL Cipher Suite

to something like this :

ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP:!kEDH:!aNULL

Certainly when I updated my servers to disable SSLv3 and also disable the ciphers that allow anonymous authentication, doing the first bit alone still showed my server as reported them as being available, but doing the second part as well fixed it.

Related Question