[users@httpd] SSLSessionCache problems with Apache-2.0.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 complains.

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/mod_ssl.so
   </IfDefine>

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.


Thanks,
_F



<IfDefine SSL>

       Listen 192.168.1.2:443

       <VirtualHost 192.168.1.2:443>
               DocumentRoot    "/usr/local/www/data-dist"
               ServerName              myserver.com
               ServerAlias             www.myserver.com
CustomLog /var/log/apache/myserver.com/access_log common env=!skip_log
               SSLEngine               On
               SSLCACertificateFile    /usr/local/etc/certs/myca.pem
SSLCertificateFile /usr/local/etc/certs/myserver.com.crt SSLCertificateKeyFile /usr/local/etc/certs/myserver.com.key
       </VirtualHost>

       ### 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
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP

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

</IfDefine>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux