简体   繁体   English

HTTPS停止使用IIS Express

[英]HTTPS stopped working with IIS express

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. 几周前,让https在我所有IP的端口443上工作。 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). 几天前机器重新启动了,我今天再次尝试访问该网站(通过VS2010启动,IIS快递托盘显示网站运行在80和443)。 The http is working fine but https just says "internet explorer cannot display the page". http工作正常,但https只是说“Internet Explorer无法显示页面”。 I can see with netstat that the system process is listening on port 443 but I don't get anything in the browser. 我可以看到netstat系统进程正在侦听端口443,但我在浏览器中没有得到任何东西。 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. 上面博客上的所有步骤都是我的伏都教,所以现在它不起作用我真的不知道从哪里开始。

-JT -jt

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机器。“

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://stackoverflow.com/a/24957146/908936 关于同样问题的完整答案: https//stackoverflow.com/a/24957146/908936

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

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