无法通过VBA为WinHttp 5.1请求设置客户端证书

时间:2019-07-11 08:20:02

标签: vba rest winhttp

我正在尝试使用WinHttp 5.1 Request,并且该URL需要客户端证书才能正常工作。

godaddy提供了免费的证书

https://ssl-ccp.godaddy.com/repository?origin=CALLISTO

我正在尝试在下面引用

它不起作用

  

winhttp.SetClientCertificate   “ CURRENT_USER \ Personal \ Certificates \ gdroot-g2.crt”

     

winhttp.SetClientCertificate   “ LOCAL_MACHINE \ Personal \ Certificates \ gdroot-g2.crt”

Excel将返回运行时错误“ -2147012852”(80072f0c):需要证书才能完成客户端授权

0 个答案:

没有答案
相关问题