不受信任的当局发行
我正在尝试使用以下内容执行请求:
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论