如何配置apache来解决SSLSessionCache警告?

时间:2013-09-02 10:10:03

标签: apache httpd.conf

访问由apache httpd托管的网站时,有时可以,有时无法使用 apache httpd日志如下:
[Mon Sep 02 17:58:52 2013] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Mon Sep 02 17:59:06 2013] [notice] caught SIGTERM, shutting down
[Mon Sep 02 17:59:10 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Sep 02 17:59:10 2013] [notice] Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/1.0.0-fips configured -- resuming normal operations
[Mon Sep 02 18:00:06 2013] [notice] caught SIGTERM, shutting down
[Mon Sep 02 18:00:10 2013] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]

如何配置apache httpd来解决这个问题?

1 个答案:

答案 0 :(得分:0)

首先,您必须确保正确安装nginx或gunicorn引擎并使用mod_ssl配置属性。      激活apache mod_ssl:sudo a2enmod ssl      并打开之前设置ssl_cache的nginx或gunicorn文件以使其正常工作。      使用nginx设置ssl_cache的一个链接是:      http://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_session_cache