Created
January 10, 2018 11:42
-
-
Save kariem/6235879633fdb59af5a1b6b3d55999f6 to your computer and use it in GitHub Desktop.
Apache site configuration based on SSL Labs recommendations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Disable SSL 2 and SSL 3 | |
SSLProtocol all -SSLv2 -SSLv3 | |
# Ciphers in the correct order, newlines added for readability | |
SSLHonorCipherOrder on | |
SSLCipherSuite | |
EECDH+ECDSA+AESGCM | |
EECDH+aRSA+AESGCM | |
EECDH+ECDSA+SHA384 | |
EECDH+ECDSA+SHA256 | |
EECDH+aRSA+SHA384 | |
EECDH+aRSA+SHA256 | |
EECDH+aRSA+RC4 | |
EECDH | |
EDH+aRSA | |
!RC4 !aNULL !eNULL !LOW !3DES !MD5 !EXP !PSK !SRP !DSS | |
# HSTS | |
Header add Strict-Transport-Security "max-age=15768000;includeSubDomains" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment