我正在WAMP 2.5和Apache 2.4.9中设置SSL证书。我未评论 在http.conf中包含conf / extra / httpd-ssl.conf,Wamp无法启动。这是我的ssl confg文件和httpd.conf。请寻求帮助。
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.
答案 0 :(得分:0)
对于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"