【问题标题】:Client Application not Redirect to Identity Server 4 after hosted in iss托管在 iss 中后,客户端应用程序未重定向到 Identity Server 4
【发布时间】:2020-07-21 23:48:16
【问题描述】:

在 iis 中托管后,客户端应用程序(核心 3.1)不会重定向到 Identity Server 4(核心 3.1)应用程序。谁能告诉我原因

例外:

---> System.IO.IOException:IDX20804:无法从以下位置检索文档:“https://*************/IdentityServer/.well-known/openid-configuration”。

---> System.Net.Http.HttpRequestException:无法建立 SSL 连接,请参阅内部异常。

---> System.Security.Authentication.AuthenticationException:远程证书根据验证程序无效。

谢谢

【问题讨论】:

  • 你能把你得到的错误日志贴出来吗?
  • 远程证书根据验证程序无效。
  • 请检查证书的有效性。如果它有效并且您仍然收到此错误,请尝试此链接:github thread
  • 感谢您的回复。它帮助我解决了问题
  • 很高兴我能提供帮助,您可以发布您得到的解决方案作为此问题的答案。对其他人会有帮助!干杯!!!

标签: c# asp.net-core identityserver4


【解决方案1】:

正如错误所说:

System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

您使用的证书无效,请重新检查有效性并使用有效的。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-07-25
    • 2020-01-11
    • 2016-10-06
    • 2020-11-19
    • 2018-12-04
    • 2014-08-02
    • 2020-03-22
    • 1970-01-01
    相关资源
    最近更新 更多