如何还原缺少的IIS Express SSL证书? [英] How do I restore a missing IIS Express SSL Certificate?
问题描述
在IIS Express中设置HTTPS后,根据这个和这个,我无法实际上使用HTTPS加载IIS Express站点。在 Chrome 中,我只能获得:
After setting up HTTPS in IIS Express, according to such articles as this and this, I am unable to actually load an IIS Express site using HTTPS. In Chrome, I am only getting:
此网页不可用(错误代码为ERR_CONNECTION_RESET)
This webpage is not available (with error code "ERR_CONNECTION_RESET")
...在 IE 中我只得到:
...and in IE I am only getting:
Internet Explorer无法显示网页
Internet Explorer cannot display the webpage
...当我按照指示行事时在这些文章中。
...when I follow the directions in those articles.
这似乎与IIS Express自动安装的IIS Express开发证书已被删除有关。如何重新安装此证书?
It appears this has to do with the fact that the "IIS Express Development Certificate" that IIS Express installs automatically has been removed. How do I get this certificate reinstalled?
推荐答案
转到添加/删除程序并在IIS Express上选择修复选项后,证书已重新安装,我现在可以使用HTTPS启动IIS Express站点。
After going to Add/Remove Programs and choosing the "Repair" option on IIS Express, the certificate has been reinstalled and I can now launch IIS Express sites using HTTPS.
证书回来了:
我现在可以启动IIS Express网站使用HTTPS:
And I can now launch the IIS Express site using HTTPS:
这篇关于如何还原缺少的IIS Express SSL证书?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!