Securing and Upgrading OpenSSL mod_ssl apache server

Unix

05 Apr 2016

Securing and Upgrading OpenSSL mod_ssl apache server

Preston Garrison 0 Comments

OpenSSL has been plagued with security vulnerabilities lately, so I decided to make sure my web server had the most up to date installation. Luckily I found the site SSL Server Test that checks your website, and tells you what you should fix. After a bit of googling around I found the best Apache config I could, without upgrading the a nonstandard version of openssl.

SSLProtocol All -SSLv2 -SSLv3
SSLCompression off
SSLCipherSuite EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:ECDHE-RSA-AES128-SHA:DHE-RSA-AES128-GCM-SHA256:AES256+EDH:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:DES-CBC3-SHA:HIGH:!aNULL:!eNULL:!EXPORT:!DES:!MD5:!PSK:!RC4

Add the following to your Apache config, and restart it. You should have an A- rating.