]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_ssl.conf
- seed some bytes of entropy instead of 0 bytes
[packages/apache.git] / apache-mod_ssl.conf
index 4824d827ee8f2bb314e5cb70c8bcb3b7f0f99730..949bbb07f78f27c2c07899fbd07e4b8f011cfbc3 100644 (file)
@@ -1,4 +1,3 @@
-# $Id$
 LoadModule ssl_module  modules/mod_ssl.so
 
 # This is the Apache server configuration file providing SSL support.
@@ -19,6 +18,10 @@ LoadModule ssl_module        modules/mod_ssl.so
 # block. So, if available, use this one instead. Read the mod_ssl User
 # Manual for more details.
 #
+
+SSLRandomSeed startup file:/dev/urandom  256
+SSLRandomSeed connect builtin
+
 #SSLRandomSeed startup file:/dev/random  512
 #SSLRandomSeed startup file:/dev/urandom 512
 #SSLRandomSeed connect file:/dev/random  512
@@ -55,11 +58,6 @@ SSLPassPhraseDialog  builtin
 SSLSessionCache                shmcb:/var/cache/httpd/ssl_scache(512000)
 SSLSessionCacheTimeout  300
 
-#   Semaphore:
-#   Configure the path to the mutual exclusion semaphore the
-#   SSL engine uses internally for inter-process synchronization.
-SSLMutex  file:/var/run/httpd/ssl_mutex
-
 ##
 ## SSL Virtual Host Context
 ##
@@ -69,10 +67,16 @@ SSLMutex  file:/var/run/httpd/ssl_mutex
 #   Enable/Disable SSL for this virtual host.
 SSLEngine on
 
+#   Usable SSL protocol flavors:
+#   This directive can be used to control the SSL protocol flavors mod_ssl
+#   should use when establishing its server environment. Clients then can only
+#   connect with one of the provided protocols.
+SSLProtocol all -SSLv2
+
 #   SSL Cipher Suite:
 #   List the ciphers that the client is permitted to negotiate.
 #   See the mod_ssl documentation for a complete list.
-SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
+SSLCipherSuite ALL:!ADH:!EXP:!LOW:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
 
 #   Server Certificate:
 #   Point SSLCertificateFile at a PEM encoded certificate.  If
@@ -210,9 +214,11 @@ SSLCertificateKeyFile /etc/httpd/ssl/server.key
 #   Per-Server Logging:
 #   The home of a custom SSL log file. Use this when you want a
 #   compact non-error SSL logfile on a virtual host basis.
-<IfModule mod_log_config.c>
-       CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
-</IfModule>
+#<IfModule mod_log_config.c>
+#      CustomLog logs/ssl_request_log "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
+#      # enable common log too, otherwise you be suprised of no access logs
+#      CustomLog logs/access_log common
+#</IfModule>
 
 </VirtualHost>
 
This page took 0.037243 seconds and 4 git commands to generate.