我有以下配置以及其他基于名称的虚拟主机。所有其他配置都运行正常,但这个配置在启用证书身份验证时失败,并出现以下错误:
SSLVerify 设置为“require”且 VirtualHost 特定的 CA 证书列表的非默认虚拟主机仅适用于支持 TLS 服务器名称指示 (SNI) 的客户端
Listen 443
<VirtualHost *:443>
ServerName site.domain.com
ProxyPreserveHost On
#connection to application
ProxyPass / http://application:port/
ProxyPassReverse / http://http://application:port/
DocumentRoot /var/www
RewriteEngine On
ProxyRequests On
ProxyBadHeader Ignore
ProxyVia Full
## Logging, always a good idea.
LogLevel debug
ErrorLog logs/error_log
CustomLog logs/access_log common
SSLEngine on
SSLC-ipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
# 2 way authentication
SSLVerifyClient require
SSLVerifyDepth 10
# SSLOptions +FakeBasicAuth
#SSLRequireSSL
#SSLCACertificatePath /etc/httpd/conf.d/ssl.crt/
SSLCACertificateFile /etc/httpd/conf.d/ssl.crt/ca.pem
#SSLStrictSNIVHostCheck off
</VirtualHost>
Apache 版本:Apache/2.2.15 (Unix) OpenSSl 版本:OpenSSL 1.0.1e-fips 2013 年 2 月 11 日 Redhat 版本:Red Hat Enterprise Linux Server 版本 6.5 (Santiago) 使用最新的 chrome 和 firefox 浏览器
谢谢