IIS 7 SSL适用于具有单个IP的多个站点 [英] IIS 7 SSL for multiple sites with a single IP

查看:159
本文介绍了IIS 7 SSL适用于具有单个IP的多个站点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有单个IP地址的IIS 7服务器。站点1具有www的SSL证书,站点2具有针对各种子域的通配符SSL证书。两个站点都使用主机头来引导单个IP地址的流量。但是,当我尝试访问站点2上的子域时,我看到一个浏览器警告,告诉我SSL证书是错误的,并向我显示站点1的信息。帮助!

I have a single IIS 7 server with a single IP address. Site 1 has an SSL cert for www and Site 2 has a wildcard SSL cert for various subdomains. Both sites use host headers to direct traffic off the single IP address. However, when I try to access a subdomain on Site 2 I see a browser warning telling me that the SSL cert is wrong and shows me the information for Site 1. Help!

推荐答案

在完全支持SNI之前,每个IP地址只能有一个证书。如果您可以获得涵盖两个站点的证书(例如,通配符或UC证书),则可以设置 SSL主机标头,以确保两个站点都受到保护。

Until SNI is fully supported, you can only have one certificate per IP address. If you can get a certificate that covers both sites (a wildcard or a UC certificate, for example), you can set up SSL Host Headers to allow both sites to be secured.

这篇关于IIS 7 SSL适用于具有单个IP的多个站点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆