Apache SNI,2个域,2个证书,parsing到相同的文档根目录
我目前遵循以下指南: https : //www.digitalocean.com/community/articles/how-to-set-up-multiple-ssl-certificates-on-one-ip-with-apache-on-ubuntu- 12-04 到目前为止安装已经没有问题了。 我正在使用我在http://www.startssl.com/?app=21注册的两个1级证书。 每个映射到它自己的(正确的)域。 问题是:去https下的域名parsing为同一个文档根目录,也就是说,如果我去https://backend.domain2.com ,我正确地来到它的VirtualHostconfiguration中指定的文档根目录。 但是,如果我访问https://email.domain1.com ,则会将其发送到backend.domain2的根目录,URL保持不变,并显示SSL证书无效的警告。 检查“无效”证书显示它是连接到后端。域2的。 我在这里做错了什么? 这两个域的VirtualHostconfiguration如下: <IfModule mod_ssl.c> <VirtualHost *:443> # The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # […]