不受信任的当局发行

发布于 2025-02-05 03:38:47 字数 562 浏览 2 评论 0原文

我正在尝试使用以下内容执行请求:

Set httpRequest = CreateObject("WinHttp.WinHttpRequest.5.1") 'Was initially trying ServerXMLHTTP here
httpRequest.Open "POST", "<WSDL Endpoint Here>", False
httpRequest.Send payload

而不是返回错误(“证书链是由不信任的当局发出的。” / 80090325)将被返回,无论我尝试什么。

在Web浏览器中导航到WSDL工作正常,并且通过SOAPUI执行的请求也成功。

我试图使用以下内容忽略服务器错误,但似乎并没有区别。我还尝试了ServerXMLHTTP对象的不同版本。

httpRequest.setOption 2, 13056

WSDL证书的链看起来像[COMPARY CA 1]&GT; [公司发行CA 1]&GT; [WSDL网站的CERT],我已经确认公司根CA 1证书是在当地计算机帐户的可信根认证机构下安装的。

I am attempting to execute a request using the following:

Set httpRequest = CreateObject("WinHttp.WinHttpRequest.5.1") 'Was initially trying ServerXMLHTTP here
httpRequest.Open "POST", "<WSDL Endpoint Here>", False
httpRequest.Send payload

Instead, an error ("The certificate chain was issued by an authority that is not trusted." / 80090325) is being returned regardless of what I try.

Navigating to the WSDL in a web browser works fine and requests executed through SoapUI also succeed.

I have attempted to ignore server errors using the following but it doesn't seem to make a difference. I have also tried different versions of the ServerXMLHTTP object.

httpRequest.setOption 2, 13056

The chain of the certificate for the WSDL looks like [Company Root CA 1] > [Company Issuing CA 1] > [Cert for WSDL Site] and I have confirmed that the Company Root CA 1 certificate is installed under Trusted Root Certification Authorities for the Local Computer account.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文