Apache2、Ubuntu 14.04 的错误日志

Apache2、Ubuntu 14.04 的错误日志
[Fri Apr 13 11:53:26.575620 2018] [mpm_prefork:notice] [pid 4562] AH00169: caught SIGTERM, shutting down
[Fri Apr 13 11:53:27.643379 2018] [ssl:warn] [pid 4680] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Fri Apr 13 11:53:28.242660 2018] [ssl:warn] [pid 4681] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Fri Apr 13 11:53:28.244700 2018] [mpm_prefork:notice] [pid 4681] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Fri Apr 13 11:53:28.244724 2018] [core:notice] [pid 4681] AH00094: Command line: '/usr/sbin/apache2'
[Fri Apr 13 12:17:52.395246 2018] [mpm_prefork:notice] [pid 4681] AH00169: caught SIGTERM, shutting down
[Fri Apr 13 12:17:53.469246 2018] [ssl:warn] [pid 4867] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Fri Apr 13 12:17:53.491015 2018] [ssl:warn] [pid 4868] AH02292: Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Fri Apr 13 12:17:53.493469 2018] [mpm_prefork:notice] [pid 4868] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.24 OpenSSL/1.0.1f configured -- resuming normal operations
[Fri Apr 13 12:17:53.493501 2018] [core:notice] [pid 4868] AH00094: Command line: '/usr/sbin/apache2'
root@localhost:/var/log/apache2# /usr/sbin/apache2
httpd (pid 4868) already running
root@localhost:/var/log/apache2# apache2ctl configtest 
Syntax OK
root@localhost:/var/log/apache2# 

答案1

这不是一个错误,而是一个警告信息。

这是因为您的 VirtualHost 指令与您的 ServerName 指令和/或证书的 CN 不匹配。这三者必须相同,除非您拥有通配符证书,其中非通配符部分必须相同。

相关内容