Tuesday, October 04, 2011

Error in Starting Apache 2.2 with OpenSSL :

I got the below error while trying to get SSL setup with my Apache on Windows 7, Apache 2.2.

SSLSessionCache: Invalid argument: size has to be >= 8192 bytes

It seems it is because of a bug in Apache when the file path has Program Files (64) in it, i.e "(64)".  So I just replaced it with some folder i created such as "C:\Program Files\Apache_Logs".


SSLSessionCache        "shmcb:C:/Program Files/Apache_Logs/Apache2.2/logs/ssl_scache(512000)"
The below url was useful.

http://arfore.com/2009/08/24/sslsessioncache-error-on-apache-for-windows/


BTW to debug Apache, you could run the below in the command prompt too. It gives more info than the error.log. The SSL error above did not show up in the log file.


httpd.exe -e debug


No comments: