Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Send Client Certificate

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,56500
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Send Client Certificate
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Send Client Certificate - 2/9/2008 2:13:21 AM   
  Matt1034

 

Posts: 2
Score: 0
Joined: 2/9/2008
Status: offline
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
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Send Client Certificate Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts