HTTPS停止使用IIS Express

时间:2022-10-08 03:58:34

I went through this whole procedure

我经历了整个过程

http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx

http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx

a couple weeks ago and got https working on port 443 of all my IPs. The machine was rebooted a few days ago and I tried accessing the site again today (launched via VS2010, IIS express tray shows site running on 80 and 443). The http is working fine but https just says "internet explorer cannot display the page". I can see with netstat that the system process is listening on port 443 but I don't get anything in the browser. Fiddler shows some tunnel activity but nothing much else. What should I check to get this back up and running? All the steps on the above blog were voodoo to me so now that it's not working I don't really know where to start.

几周前,让https在我所有IP的端口443上工作。几天前机器重新启动了,我今天再次尝试访问该网站(通过VS2010启动,IIS快递托盘显示网站运行在80和443)。 http工作正常,但https只是说“Internet Explorer无法显示页面”。我可以看到netstat系统进程正在侦听端口443但我在浏览器中没有得到任何东西。 Fiddler展示了一些隧道活动,但没有其他任何东西。我应该检查什么才能恢复运行?上面博客上的所有步骤都是伏都教给我的,所以现在它不起作用我真的不知道从哪里开始。

-JT

-jt

2 个解决方案

#1


22  

Did you try the following (posted at the bottom of http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx).

您是否尝试过以下内容(发布在http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx的底部)。

"I think by moving the self signed cert from Personal to Trusted Root CA directory causes a problem that SSL stops working after developers reboot their machines. (Don't know how it happens, but it does happen consistently.) I finally get around this issue by export and re-import the self-signed cert into the trusted root directory (instead of simply drag it over). Now my self-signed cert is considered and I don't need to REINSTALL/REPAIR IIS Express every time I reboot the machine. "

“我认为通过将自签名证书从个人转移到受信任的根CA目录会导致SSL在开发人员重新启动计算机后停止工作的问题。(不知道它是如何发生的,但它确实一直发生。)我终于解决了这个问题。通过导出问题并将自签名证书重新导入到受信任的根目录(而不是简单地将其拖过)。现在我的自签名证书被考虑了,每次重新启动时我都不需要重新安装/修复IIS Express机器。“

#2


9  

for me problem was with port number: my Visual Studio 2013/IIS Express configured app port number was NOT in the range :44300-:44398

对我来说问题是端口号:我的Visual Studio 2013 / IIS Express配置的应用程序端口号不在范围内:44300-:44398

full answer about same problem: https://*.com/a/24957146/908936

关于同样问题的完整答案:https://*.com/a/24957146/908936

#1


22  

Did you try the following (posted at the bottom of http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx).

您是否尝试过以下内容(发布在http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx的底部)。

"I think by moving the self signed cert from Personal to Trusted Root CA directory causes a problem that SSL stops working after developers reboot their machines. (Don't know how it happens, but it does happen consistently.) I finally get around this issue by export and re-import the self-signed cert into the trusted root directory (instead of simply drag it over). Now my self-signed cert is considered and I don't need to REINSTALL/REPAIR IIS Express every time I reboot the machine. "

“我认为通过将自签名证书从个人转移到受信任的根CA目录会导致SSL在开发人员重新启动计算机后停止工作的问题。(不知道它是如何发生的,但它确实一直发生。)我终于解决了这个问题。通过导出问题并将自签名证书重新导入到受信任的根目录(而不是简单地将其拖过)。现在我的自签名证书被考虑了,每次重新启动时我都不需要重新安装/修复IIS Express机器。“

#2


9  

for me problem was with port number: my Visual Studio 2013/IIS Express configured app port number was NOT in the range :44300-:44398

对我来说问题是端口号:我的Visual Studio 2013 / IIS Express配置的应用程序端口号不在范围内:44300-:44398

full answer about same problem: https://*.com/a/24957146/908936

关于同样问题的完整答案:https://*.com/a/24957146/908936