简体   繁体   English

需要证书才能完成客户端身份验证

[英]A certificate is required to complete client authentication

I have written the following code and when I run the scheduler, get this error : "A certificate is required to complete client authentication, msxml3.dll error '80072f0c'". 我已经编写了以下代码,当我运行调度程序时,出现以下错误:“完成客户端身份验证需要证书,msxml3.dll错误'80072f0c'”。

Dim objXML
Set objXML = CreateObject ("MSXML2.ServerXMLHttp") 
objXML.open "GET", "https://test.moneymapwebpro.com/synchClients.aspx", false
objXML.send
Set objXML = Nothing

Please let me know , why the error message occurs. 请让我知道,为什么会出现错误消息。

According to Microsoft KB302080 : 根据Microsoft KB302080

Secure Sockets Layer (SSL) certificate support was added to the ServerXMLHTTP request object with the release of MSXML version 3.0 Service Pack 1. To make any SSL requests from the Web server, ServerXMLHTTP expects a client digital certificate to be installed, even if the target Web server does not require a client certificate. 随着MSXML版本3.0 Service Pack 1的发布,安全套接字层(SSL)证书支持已添加到ServerXMLHTTP请求对象中。要从Web服务器发出任何SSL请求,ServerXMLHTTP都希望安装客户端数字证书,即使目标服务器也是如此。 Web服务器不需要客户端证书。

You need to use to a new version of MSXML -- at least MSXML 3.0 SP2 -- and install a client certificate. 您需要使用新版本的MSXML-至少是MSXML 3.0 SP2-并安装客户端证书。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM