我在XAMPP localhost中启动apache时遇到此错误,无法理解它。我试过更改httpd.conf中的默认端口,仍然无法正常工作。这是错误日志
[Tue Sep 29 23:04:02.742779 2015] [ssl:warn] [pid 6344:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 29 23:04:03.294494 2015] [ssl:warn] [pid 6344:tid 528] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 29 23:04:06.655537 2015] [mpm_winnt:notice] [pid 6344:tid 528] AH00455: Apache/2.4.16 (Win32) OpenSSL/1.0.1p PHP/5.5.28 configured -- resuming normal operations
[Tue Sep 29 23:04:06.655537 2015] [mpm_winnt:notice] [pid 6344:tid 528] AH00456: Apache Lounge VC11 Server built: Jul 12 2015 10:56:48
[Tue Sep 29 23:04:06.655537 2015] [core:notice] [pid 6344:tid 528] AH00094: Command line: 'C:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Tue Sep 29 23:04:06.671166 2015] [mpm_winnt:notice] [pid 6344:tid 528] AH00418: Parent: Created child process 1324
[Tue Sep 29 23:04:08.040905 2015] [ssl:warn] [pid 1324:tid 536] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 29 23:04:08.322172 2015] [ssl:warn] [pid 1324:tid 536] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Tue Sep 29 23:04:08.509695 2015] [mpm_winnt:notice] [pid 1324:tid 536] AH00354: Child: Starting 150 worker threads.
答案 0 :(得分:0)
除非您需要,否则请关闭服务器上的SSL(HTTPS)。
在XAMP上,转到配置 - > apache并选择httpd.conf文件。将备份保存在安全的地方。然后寻找指令:
Listen 443
在此之前添加#以禁用SSL。同样,根据Xamp,您可能有虚拟主机侦听此端口。查找在443上监听的任何配置块(可能是*:443)并将其注释掉。
要检查的最终选项是SSL引擎。这可能是一个单独的配置文件(ssl.conf)。
SSLEngine on
将其更改为关闭。
所有这些都应该为您禁用SSL。除非您需要它,否则在您的证书和服务器配置之间存在问题,我们可以查看。