Dear Wiki user, You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The following page has been changed by megaspaz: http://wiki.apache.org/httpd/SSLSessionCache The comment on the change is: formatting changes to highlight examples and to really fix unwanted wiki linking ------------------------------------------------------------------------------ == SSLSessionCache == If the following error is encountered in the error.log file: - [warn] Init: Session Cache is not configured [hint: SSLSessionCache] + {{{[warn] Init: Session Cache is not configured [hint: SSLSessionCache] + }}} This usually points to a distro breaking up SSL directives from the base SSL virtual host configuration. The default SSL configuration shipped with apache.org's Apache package contains these SSL configurations along with a base virtual host configuration. Make sure that your SSL configuration file gets loaded before your virtual host configuration file and contains a line that looks like: - !SSLSessionCache shmcb:/some/example/path/ssl_scache(512000) + {{{SSLSessionCache shmcb:/some/example/path/ssl_scache(512000) + }}} For confirmation, use http://localhost/server-status to check the cache status. Output should be similar to the following: - - SSL/TLS Session Cache Status: [[BR]] + {{{SSL/TLS Session Cache Status: [[BR]] - cache type: SHMCB, shared memory: 512000 bytes, current sessions: 1[[BR]] + cache type: SHMCB, shared memory: 512000 bytes, current sessions: 1[[BR]] - sub-caches: 32, indexes per sub-cache: 133[[BR]] + sub-caches: 32, indexes per sub-cache: 133[[BR]] - time left on oldest entries' SSL sessions: avg: 297 seconds, (range: 297...297)[[BR]] + time left on oldest entries' SSL sessions: avg: 297 seconds, (range: 297...297)[[BR]] - index usage: 0%, cache usage: 0%[[BR]] + index usage: 0%, cache usage: 0%[[BR]] - total sessions stored since starting: 1[[BR]] + total sessions stored since starting: 1[[BR]] - total sessions expired since starting: 0[[BR]] + total sessions expired since starting: 0[[BR]] - total (pre-expiry) sessions scrolled out of the cache: 0[[BR]] + total (pre-expiry) sessions scrolled out of the cache: 0[[BR]] - total retrieves since starting: 1 hit, 1 miss[[BR]] + total retrieves since starting: 1 hit, 1 miss[[BR]] - total removes since starting: 0 hit, 0 miss[[BR]] + total removes since starting: 0 hit, 0 miss[[BR]]}}} If you do not get any session cache statistics on the server-status page then your SSL configuration is not correctly set. @@ -47, +48 @@ Allow from .example.com </Location> </IfModule> - }}}
