简体   繁体   English

Windows Server 2008 IIS7上的SSL配置问题-IP无法正确解析到站点

[英]SSL Configuration Issue on Windows Server 2008 IIS7 - IP doesn't resolves correctly to the site

I'm working on ASP.net MVC3 Web application on a dedicated Windows Server 2k8 running IIS7. 我正在运行IIS7的专用Windows Server 2k8上的ASP.net MVC3 Web应用程序上工作。

I have configured A record correctly on domain to resolve to this server. 我已经在域上正确配置了A记录以解析到该服务器。 I have 1 main site and 2 other small application running on same server. 我有1个主站点和2个其他小应用程序在同一服务器上运行。 I need to add SSL on all of this site. 我需要在所有此站点上添加SSL。

While trying to add SSL I have to give separate IP address for each site in IIS7. 在尝试添加SSL时,我必须为IIS7中的每个站点提供单独的IP地址。 But as soon as I configure it, site stops working. 但是,一旦我配置它,站点就会停止工作。

One more thing, when I enter IP address directly on the web, it should open that site, but it is not resolving the request. 还有一件事,当我直接在Web上输入IP地址时,它应该打开该站点,但是不能解决请求。 I think if it resolves correctly then SSL issue will be solved, but not sure why IP is not resolving correctly and showing not found error. 我认为,如果它能够正确解决,那么SSL问题将得到解决,但不确定为什么IP无法正确解决并显示未找到错误。

It was the firewall issue, and of course with different domains/sub domains, you either need different SSL certificate or SSL certificate that support multiple domains/sub domains. 这是防火墙的问题,当然对于不同的域/子域,您要么需要不同的SSL证书,要么需要支持多个域/子域的SSL证书。 And each of them need to be mapped to different IP addresses or at least different port on same IP. 并且它们每个都需要映射到不同的IP地址或同一IP上至少一个不同的端口。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM