【问题标题】:Wamp not start after configured SSL conf file配置 SSL conf 文件后 Wamp 无法启动
【发布时间】:2019-06-20 14:00:45
【问题描述】:

我正在 WAMP 2.5 和 Apache 2.4.9 中设置 SSL 证书。正如我不评论 在 http.conf 中包含 conf/extra/httpd-ssl.conf,Wamp 没有启动。这是我的 ssl 配置文件和 httpd.conf。请看看和帮助。

SSL Conf File Httpd.conf file

Error in Apache error log 

[Sun Jan 27 10:04:35.018678 2019] [ssl:warn] [pid 4880:tid 564] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 27 10:04:35.034305 2019] [mpm_winnt:notice] [pid 4880:tid 564] AH00455: Apache/2.4.9 (Win64) OpenSSL/1.0.1g PHP/5.5.12 configured -- resuming normal operations
[Sun Jan 27 10:04:35.034305 2019] [mpm_winnt:notice] [pid 4880:tid 564] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Sun Jan 27 10:04:35.034305 2019] [core:notice] [pid 4880:tid 564] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Sun Jan 27 10:04:35.034305 2019] [mpm_winnt:notice] [pid 4880:tid 564] AH00418: Parent: Created child process 2204
[Sun Jan 27 10:04:35.549913 2019] [ssl:warn] [pid 2204:tid 468] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Sun Jan 27 10:04:35.565540 2019] [mpm_winnt:notice] [pid 2204:tid 468] AH00354: Child: Starting 64 worker threads.

【问题讨论】:

    标签: apache ssl-certificate wamp wampserver httpd.conf


    【解决方案1】:

    对于 CA 证书,您定义 Path 而不是 File

    SSLCACertificatePath "c:/wamp/bin/apache/apache2.4.9/conf/key/gd_bundle-g2-g1.crt"
    

    应该是

    SSLCACertificateFile "c:/wamp/bin/apache/apache2.4.9/conf/key/gd_bundle-g2-g1.crt"
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-09-11
      • 2020-11-02
      • 2014-05-31
      • 2021-12-24
      • 2021-07-29
      • 1970-01-01
      • 1970-01-01
      • 2012-02-28
      相关资源
      最近更新 更多