【问题标题】:Shutting down the server, when I configure SSL WAMP SERVER当我配置 SSL WAMP SERVER 时关闭服务器
【发布时间】:2026-02-19 02:15:01
【问题描述】:

我正在尝试激活 ssl 证书,对于 https,我有一个证书和 server.key 和 server.crs

我的httpd-vhosts

# Virtual Hosts
#
<VirtualHost *:443>

    DocumentRoot c:/wamp64/www/
    ServerName xxxxx.com

    SSLCertificateFile c:/wamp64/SSL/xxxxxx.crt
    SSLCertificateKeyFile c:/wamp64/SSL/mhdp.key
    SSLCertificateChainFile c:/wamp64/SSL/DigiCertCA.crt
    <Directory  "c:/wamp64/www/">
        Options +Indexes +Includes +FollowSymLinks +MultiViews
        AllowOverride All
        Require all granted
    </Directory>    
</VirtualHost>
#

我的httpd.cnf

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

但是得到这个apache-loghttps://localhost 不起作用。

[Tue Oct 03 17:03:28.136407 2017] [mpm_winnt:notice] [pid 760:tid 324] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Tue Oct 03 17:03:30.155811 2017] [mpm_winnt:notice] [pid 7896:tid 216] AH00364: Child: All worker threads have exited.
[Tue Oct 03 17:03:30.171411 2017] [mpm_winnt:notice] [pid 760:tid 324] AH00430: Parent: Child process 7896 exited successfully.
[Tue Oct 03 17:03:31.875814 2017] [auth_digest:notice] [pid 3948:tid 324] AH01757: generating secret for digest authentication ...
[Tue Oct 03 17:03:32.016215 2017] [ssl:warn] [pid 3948:tid 324] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Oct 03 17:03:32.031815 2017] [mpm_winnt:notice] [pid 3948:tid 324] AH00455: Apache/2.4.23 (Win64) OpenSSL/1.0.2h PHP/7.0.10 configured -- resuming normal operations
[Tue Oct 03 17:03:32.031815 2017] [mpm_winnt:notice] [pid 3948:tid 324] AH00456: Apache Lounge VC14 Server built: Jul  1 2016 11:43:51
[Tue Oct 03 17:03:32.031815 2017] [core:notice] [pid 3948:tid 324] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.23\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.23'
[Tue Oct 03 17:03:32.031815 2017] [mpm_winnt:notice] [pid 3948:tid 324] AH00418: Parent: Created child process 14280
[Tue Oct 03 17:03:32.468616 2017] [auth_digest:notice] [pid 14280:tid 216] AH01757: generating secret for digest authentication ...
[Tue Oct 03 17:03:32.624616 2017] [ssl:warn] [pid 14280:tid 216] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Oct 03 17:03:32.640216 2017] [mpm_winnt:notice] [pid 14280:tid 216] AH00354: Child: Starting 64 worker threads.

【问题讨论】:

    标签: ssl-certificate


    【解决方案1】:

    日志没有显示任何错误。但请尝试在 httpd.conf 文件 mod_socache_shmcb

    中启用此功能

    【讨论】: