WSE 3.0 信任链错误 - 如何查看发回的证书?我想知道什么证书有信任链错误

发布于 2024-08-13 07:17:47 字数 358 浏览 4 评论 0原文

当我在 WSE 3.0 中收到回复时,出现信任链错误。

当我拿到 WSDL 时,他们的证书没问题。当我连接时他们的证书很好。当我发送 XML 请求时,它喜欢我的公共证书。

WSE 不喜欢的是响应中的令牌。 Microsoft.Web.Service3 调用 getelement,然后 loadbinarysecuritytoken,但随后检查链并且不喜欢它所看到的内容。

我想知道它不喜欢什么令牌。我不知道如何查看令牌是什么。它是二进制数据,因此 HttpAnalyzer 没有多大帮助。

在我完全了解问题所在之前,我无法解决问题。他们向我发送了错误的证书吗?这只是我没有并且需要添加到我的个人信任中的证书吗?什么?

I'm having a trust chain error when I receive my response in WSE 3.0.

Their cert is fine when I grab the WSDL. Their cert is fine when I connect. It likes my public cert when I send the XML request.

What WSE doesn't like is the token in the response. Microsoft.Web.Service3 calls getelement, then loadbinarysecuritytoken, but then checks the chain and doesn't like what it sees.

I'd like to know what token it doesn't like. I'm not sure how to see what the token is. It's binary data so HttpAnalyzer doesn't help much.

I can't fix the issue until I have full knowledge of what's wrong. Are they sending me the wrong cert? Is it just a cert I don't have and need to add to my personal trust? What?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

青瓷清茶倾城歌 2024-08-20 07:17:47

您一定知道涉及哪些证书吧?通常一个客户端证书和一个服务器证书。在我看来,客户端似乎无法验证用于签署客户端收到的消息的服务器证书。如果您使用自签名证书,则应尝试将该证书添加到客户端计算机上受信任的根 CA 的证书文件夹中。如果您的客户端是一个服务,那么您必须将其放在 LocalMachine 下(假设该服务作为网络服务运行),否则将其放在 CurrentUser 下。希望这能为您指明正确的方向。

You must know which certificates are involved right? Usually a client certificate and a server certificate. It sounds to me as if the the client cannot validate the server certificate that was used to sign the message the client receives. If you are using self signed certificates then you should try to add that certificate to the trusted root CA's certificate folder on the client machine. If your client is a service then you have to put it under LocalMachine (assuming the service is running as Network Service) otherwise put it under CurrentUser. Hope this points you in the right direction.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文