IIS 7 and Above
msxml6.dll error '80072f0c' A certificate is required to complete cl...
Last post Sep 13, 2013 03:13 AM by Angie xu - MSFT
Sep 11, 2013 12:27 AM|dmp-developer|LINK
I have installed the paypal api certificate, and can verify that private key access has been granted using
winhttpcertcfg -l -c LOCAL_MACHINE\My -s api-cert-name to the process running the ASP application via
c:\windows\system32\inetsrv\appcmd list wps.
The code is as follows:
payPalClientID = "client-id"
payPalSecret = "client-secret"
sRequest = "client_id=" & payPalClientID & "&client_secret=" & payPalSecret
Dim oHTTP : set oHTTP = CreateObject("MSXML2.ServerXMLHTTP.6.0")
oHTTP.open "POST", "https://api.paypal.com/v1/identity/openidconnect/token",false
oHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
oHTTP.setRequestHeader "Content-Length", Len(sRequest)
HTTPPost = oHTTP.responseText
When I put the url https://api.paypal.com/v1/identity/openidconnect/token into the browser, I am getting prompted for a certificate and it allows me to select the installed certificate.
I am getting the same error across Windows 7 (localhost), Windows Server 2008 (IIS7.5), Windows Server 2003 (IIS 6) and getting the same results.
Sep 13, 2013 03:13 AM|Angie xu - MSFT|LINK
Perhaps this is the admin permissions issue on the server, you could have a look similar discussion about this problem, perhaps the solution is also available for you,
Paypal adaptive payments returning the paykey using Classic ASP and Signature