我想知道在场景中SSLauthentication是否仍然有效。 我的意思是它将显示两个站点与SSL证书没有任何问题或错误等
例如,我有两个外部URL hello.com和world.com 。 我在internal.com有一个内部URL。 hello.com和world.comparsing为一个IP地址可以说8.8.8.8 。 以下是我使用基于IP的SSL设置apache虚拟主机。
<VirtualHost 8.8.8.8:443> ServerName hello.com ServerAlias world.com www.world.com SSLEngine On SSLCertificateFile /etc/apache2/ssl.crt/hello.crt SSLCertificateKeyFile /etc/apache2/ssl.key/hello.key Redirect / https://hello.com ProxyPreserveHost On <Location /> ProxyPass http://internal.com:8080/ ProxyPassReverse http://internal.com:8080/ </Location> </VirtualHost>
所以我想这个问题就在上面去了!
标准SSL证书仅在单个域上有效。 请参阅我的SSL证书types概述:
https://serverfault.com/a/509303/35258
要么使用多域SSL证书,要么考虑创build两个虚拟主机容器,并在与各自域相匹配的每个容器上使用SSL证书。