【问题标题】:Two Certificates when using Identyserver4 with asp.net core webserver?将 Identityserver4 与 asp.net 核心 Web 服务器一起使用时的两个证书?
【发布时间】:2019-09-18 12:06:57
【问题描述】:

我将在 asp.net 核心上托管具有相同应用程序的网络服务器和 api。我正在使用 Identyserver4 来保护 API 连接。我需要单独的 https asp.net 核心网站和 identityserver4 证书吗?

【问题讨论】:

    标签: ssl asp.net-core https ssl-certificate identityserver4


    【解决方案1】:

    您至少需要两个单独的证书。 不同之处在于,您的 SSL 证书必须与主机名绑定,并且对访问您服务器的每个人都是可信的,而签名证书没有任何特殊要求。
    请参阅this article 以获取更多参考,this question 作为证明链接。
    从您的解释中不清楚您托管主 ASP.NET Core 网站的位置。如果那是您的 IdSrv 所在的另一台主机,那么您也需要第三个(!)证书才能在那里启用 SSL。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-08-06
      • 1970-01-01
      • 2012-04-16
      • 2013-05-11
      • 2018-07-17
      • 1970-01-01
      • 2011-02-25
      • 2012-10-15
      相关资源
      最近更新 更多