gpt4 book ai didi

asp.net - ASP NET - 基础连接已关闭 : Could not establish trust relationship for the SSL/TLS secure channel

转载 作者:太空宇宙 更新时间:2023-11-03 14:23:26 26 4
gpt4 key购买 nike

我们有一个 Web 服务(服务 A)使用 HttpWebRequest 调用另一个 Intranet 服务(服务 B)通过 HTTP。当我们尝试将该 Intranet 服务(服务 B)升级到 HTTPS 时,我们开始看到 The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel异常。

会不会和服务A所在服务器的Server Certificates中没有证书有关?

我找到了以下文章,但它似乎与桌面上的同一问题更相关,而不是服务器上的问题。

Could not establish trust relationship for SSL/TLS secure channel -- SOAP

最佳答案

@mason 的 comment我的问题有助于解决问题。事实上,CA 的证书不在受信任的根证书中。

It's not in IIS. It would be in Windows certificate store. Start > Manage Computer Certificates. The CA probably needs to be in the Trusted Root Certification Authorities > Certificates folder.

关于asp.net - ASP NET - 基础连接已关闭 : Could not establish trust relationship for the SSL/TLS secure channel,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58838789/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com