I have imported a client certificate into IE7 and then exported to a .pfx
file. I'm trying to send a request to the provider (of the cert) to receive
XML data. I have not been given any instructions from the
provider regarding IIS configurations or anything else...they told me to just the import and
export to file.
Here's what I have so far, which yields the
following error:
msxml3.dll error '80072f0c'
A certificate is required to complete client authentication
Thanks in advance and I hope I'm in the right place...Tom
dim responseText
dim strRequest
dim objSrvHTTP
dim objXMLDocument
dim objXMLReponseDocument
set objSrvHTTP = CreateObject("MSXML2.ServerXMLHTTP")
set objXMLDocument = CreateObject("MSXML2.DOMDocument")
set objXMLReponseDocument = CreateObject("MSXML2.DOMDocument")
objXMLDocument.async = false
objXMLDocument.load(Server.MapPath("Request.xml"))
' 2 wild stabs on my part
objSrvHTTP.setOption(2) = 13056 'SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS
objSrvHTTP.setOption 3, "CsS Services" ' I have no clue
objSrvHTTP.open "POST", "
https://test.rbsecure.com/secure2/bin/XMLPost", false
objSrvHTTP.SetRequestHeader "content-Type","text/xml"
objSrvHTTP.send objXMLDocument
Response.Write objSrvHTTP.responseText
Response.End
Is there something I'm missing in IIS or is this just a coding issue.
Thanks in advance...Tom