【问题标题】:IIS access website via https and not httpIIS 通过 https 而不是 http 访问网站
【发布时间】:2019-11-21 12:26:54
【问题描述】:

我的网站在http://localhost/index.html#/ 运行,但我希望它在https://localhost/index.html#/ 运行。我在 IIS 级别安装了证书(在服务器证书下)。当我去默认网站下的SSL证书时@

如何通过https而不是http访问网站?

请注意:我在 IIS 级别添加了证书,如下图所示。

【问题讨论】:

    标签: angular iis https iisnode


    【解决方案1】:

    您需要为 https 添加站点绑定

    1. 点击“默认网站”
    2. 在右侧的“操作”窗格中,选择“绑定”
      • 您可能只会看到http 和端口80 的行,但https 没有行
    3. 单击“添加”并为“类型”选择https。 “端口”字段应默认为443
    4. 点击“确定”并运行iisreset

    【讨论】:

      猜你喜欢
      • 2021-10-03
      • 2020-03-08
      • 2020-05-16
      • 1970-01-01
      • 1970-01-01
      • 2017-06-01
      • 2012-11-16
      • 2012-11-02
      • 1970-01-01
      相关资源
      最近更新 更多