Created
June 24, 2015 14:38
-
-
Save funnylookinhat/d0cfc34c76183e3f9c39 to your computer and use it in GitHub Desktop.
ssl.conf - Good practice Apache2 SSL config
This file contains hidden or 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
<IfModule mod_ssl.c> | |
SSLRandomSeed startup builtin | |
SSLRandomSeed startup file:/dev/urandom 512 | |
SSLRandomSeed connect builtin | |
SSLRandomSeed connect file:/dev/urandom 512 | |
AddType application/x-x509-ca-cert .crt | |
AddType application/x-pkcs7-crl .crl | |
SSLPassPhraseDialog exec:/usr/share/apache2/ask-for-passphrase | |
SSLSessionCache shmcb:${APACHE_RUN_DIR}/ssl_scache(512000) | |
SSLSessionCacheTimeout 300 | |
# Mutex file:${APACHE_LOCK_DIR}/ssl_mutex ssl-cache | |
SSLCipherSuite HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4 | |
SSLHonorCipherOrder on | |
SSLProtocol All -SSLv2 -SSLv3 | |
# SSLInsecureRenegotiation on | |
# SSLStrictSNIVHostCheck On | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment