【问题标题】:servicestack selfhosted on Windows2008 r2 over https without IIS在没有 IIS 的情况下通过 https 在 Windows2008 r2 上自托管的 servicestack
【发布时间】:2017-03-18 14:12:48
【问题描述】:

我已经在 windows2008r2 上实现了 servicestack v3.9.71 selfhost。我有证书文件。如何在 servicestack 上激活 https 以及如何引用证书文件。感谢您的回复。

【问题讨论】:

    标签: https servicestack


    【解决方案1】:

    为 ServiceStack Self Hosts 配置 SSL 对所有 HttpListener 的配置方式相同,即它不特定于 ServiceStack - 它需要在运行它的操作系统上进行配置。

    这个答案展示了如何configure SSL on Windows,而这个答案应该有助于展示你如何configure SSL on Linux/Mono

    您应该能够通过 following the steps in the answer above 将 https 与 ServiceStack HttpListener 自托管一起使用,使用“https://*:8443/”作为 url 并且“CN=localhost”应该绕过 SSL 浏览器警告对话框。

    答案中并不清楚,但您可以从证书的详细信息选项卡中获取指纹,然后您需要删除空格。然后您可以follow the walkthrough in the answer below 使用 MMC 导入证书。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-07-29
      • 1970-01-01
      • 1970-01-01
      • 2013-10-10
      • 1970-01-01
      • 2015-02-17
      相关资源
      最近更新 更多