httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Forrest Aldrich <>
Subject [users@httpd] SSLSessionCache problems with Apache-2.0.x
Date Sun, 27 Aug 2006 17:39:22 GMT
I'm trying to enable SSL on apache2, and running into a problem.  The 
error log says:

    [Sun Jun 04 17:36:26 2006] [warn] Init: Session Cache is not
    configured [hint: SSLSessionCache]

And when I explicitly disable it (ie: "none", as seen below), it still 

I'm running this on FreeBSD-6.1.

I am able to connect to port 80, no problem.

The rest of my httpd.conf is correct, with the only change being to load 
the ssl module:

    <IfDefine SSL>
    LoadModule ssl_module libexec/apache2/

The process table reflects that -DSSL is enabled correctly.

I stopped and started the server also, (ie: not restart).  No change.

I've read through the net and found similiar problems, but I can't 
resolve it.

My setup is simple, seems to me that dbm file should be initialized in 
the proper directory (yes, the permissions there are correct) when the 
service starts, but clearly it is not.

Can someone point out what the problem is here?

The contents of my ssl config are below.


<IfDefine SSL>


                DocumentRoot    "/usr/local/www/data-dist"
/var/log/apache/ common env=!skip_log
                SSLEngine               On
                SSLCACertificateFile    /usr/local/etc/certs/myca.pem

        ### SSL OPTIONS
        AddType application/x-x509-ca-cert .crt
        AddType application/x-pkcs7-crl    .crl
        SSLPassPhraseDialog  builtin
        SSLSessionCache        none
        #SSLSessionCache         dbm:/var/run/apache/scache
        #SSLSessionCacheTimeout  300
        SSLMutex default
        SSLRandomSeed startup file:/dev/urandom  512
        SSLRandomSeed connect builtin
        SSLCryptoDevice builtin

        <Files ~ "\.(cgi|shtml|phtml|php|php3?)$">
        SSLOptions +StdEnvVars
        <Directory "/var/www/cgi-bin">
        SSLOptions +StdEnvVars


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message