asp.net - IIS Express SSL 该网页不可用

标签 asp.net ssl iis-express

我有一个在 IIS Express 和 Visual Studio 2013 上运行的 ASP.NET MVC5 项目。我想向本地主机添加 SSL 支持以进行测试。我已按照许多博客中详细说明的步骤进行操作。具体this one from Hanselman .

当我通过端口 44300 测试我的网站时,我在 Chrome 中收到“此网页不可用”的响应,在 IE 中收到“此页面无法显示”的响应,以及来自 Postman 的“无法获得任何响应”(响应 0) .

我已确认 applicationhost.config 中的绑定(bind)信息正确。我已通过 netsh 确认了 sslcert 绑定(bind)。我已通过 netsh 确认了 urlacl 绑定(bind)。我尝试过在管理员权限下运行。我已经禁用了防火墙。我不知道下一步该做什么。

我已使用管理员权限从命令提示符运行 IISExpress。我收到以下错误:

iisexpress.exe/site:MvcApplication1

Successfully registered URL "localhost:52033/" for site

Failed to register URL "localhost:44300/" for site "MvcApplication1" application "/". Error description: Cannot create a file when that file already exists. (0x800700b7)

Failed to register URL "https://*:44300/" for site "MvcApplication1" application "/". Error description: Cannot create a file when that file already exists. (0x80070 0b7)

编辑

我已经删除了端口 44300 的 urlacl 绑定(bind)。它解决了 iisexpress 命令行错误...也就是说,当我运行并查看我的网站时,我仍然没有得到任何响应。

最佳答案

我成功了。我的路走错了。我正在导航至

localhost:44300 

而不是

https://localhost:44300

关于asp.net - IIS Express SSL 该网页不可用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19775390/

相关文章:

c# - 访问 DotNetNuke 模块中的 .config 文件

c# - asp.net 中的确认对话框?

c - 如何在服务器端使用 openssl 完全禁用重新协商(重新握手)?

java - 带证书的 SSL 连接

.net - 是否可以在 IIS7 Express 中使用自定义主机头/绑定(bind)?

asp.net - 无法从非 Windows 计算机远程连接到 IIS Express

asp.net-mvc - 回发总是返回状态代码 301 永久移动

c# - UserPrincipal 对象,Active Directory 查询 : DirectoryServicesCOMException

asp.net - Font Awesome 图标在 .NET/MVC 应用程序中不起作用

php - Authorize.net ARB SSL 证书问题