]> TLD Linux GIT Repositories - packages/apache.git/blobdiff - apache-mod_ssl.conf
- updated to 2.4.23
[packages/apache.git] / apache-mod_ssl.conf
index f442e2daeeb2f0f36a6999cab1080edf77fe9b93..ea88204eef0671ee53b0966f3cdc61bbdd0a5fc5 100644 (file)
@@ -1,4 +1,3 @@
-# $Id: apache-mod_ssl.conf,v 1.20 2010/07/06 08:18:18 psz Exp $
 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
@@ -51,24 +54,12 @@ SSLPassPhraseDialog  builtin
 #   Configure the SSL Session Cache: First the mechanism
 #   to use and second the expiring timeout (in seconds).
 #SSLSessionCache                dbm:/var/cache/httpd/ssl_scache
-#SSLSessionCache               shmcb:/var/run/ssl_scache(512000)
-SSLSessionCache                shmcb:/var/cache/httpd/ssl_scache(512000)
-SSLSessionCacheTimeout  300
+#SSLSessionCache               shmcb:/var/cache/httpd/ssl_scache(512000)
 
-#   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
-##
-
-NameVirtualHost *:443
-<VirtualHost *:443>
-#   SSL Engine Switch:
-#   Enable/Disable SSL for this virtual host.
-SSLEngine on
+# Replace this with one of the above (addition apache-mod_socache 
+# needs to be installed and a apropriate module has to be loaded)
+SSLSessionCache                nonenotnull
+SSLSessionCacheTimeout  300
 
 #   Usable SSL protocol flavors:
 #   This directive can be used to control the SSL protocol flavors mod_ssl
@@ -81,6 +72,16 @@ SSLProtocol all -SSLv2
 #   See the mod_ssl documentation for a complete list.
 SSLCipherSuite ALL:!ADH:!EXP:!LOW:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
 
+
+##
+## SSL Virtual Host Context
+##
+
+<VirtualHost _default_:443>
+#   SSL Engine Switch:
+#   Enable/Disable SSL for this virtual host.
+SSLEngine on
+
 #   Server Certificate:
 #   Point SSLCertificateFile at a PEM encoded certificate.  If
 #   the certificate is encrypted, then you will be prompted for a