Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Scoobynetters to the rescue again? VB/XML/SSL experts?

Thread Tools
 
Search this Thread
 
Old 14 February 2003, 03:19 PM
  #1  
BigGT3Fan
Scooby Regular
Thread Starter
 
BigGT3Fan's Avatar
 
Join Date: Jul 2001
Posts: 464
Likes: 0
Received 0 Likes on 0 Posts
Post

Help!

I need to submit an XMLRPC call using SSL from VB6. I've been given a certificate for the SSL connection which I've installed in my PC certificate store.

I am instantiating the ServerXMLHTTP object from MSXML4 SDK. Then I want to Post the XML at a URL and get the response back doing something like this:

Set objXMLReq = CreateObject("MSXML2.ServerXMLHTTP")

Call objXMLReq.open("POST", _
"https://someurl", False)

Call objXMLReq.send(strMessage)

strResponse = objXMLReq.responseText

This rejects me, as I am obviously not using the certificate to establish the SSL connection. Anyone know what I should be doing.

TIA,




Alex
Old 15 February 2003, 01:42 AM
  #2  
SCOSaltire
Scooby Regular
 
SCOSaltire's Avatar
 
Join Date: Mar 2001
Posts: 1,809
Likes: 0
Received 0 Likes on 0 Posts
Post

do you know the exact error?

are you sure that the correct certificate is being picked up?
could you use the setOption method SXH_OPTION_SELECT_CLIENT_SSL_CERT to define the correct certificate to be used?

or even use the setOption method and SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS to see if you can get it working without the certificate... not sure about this tho, not used it.

msdn
Old 15 February 2003, 01:18 PM
  #3  
BigGT3Fan
Scooby Regular
Thread Starter
 
BigGT3Fan's Avatar
 
Join Date: Jul 2001
Posts: 464
Likes: 0
Received 0 Likes on 0 Posts
Post

I'm doing both of those :-(

I'm ignoring all errors, and specifying the name of the client cert with two setoption calls, but I think I need to do more - just don't know what
Old 15 February 2003, 08:19 PM
  #4  
SCOSaltire
Scooby Regular
 
SCOSaltire's Avatar
 
Join Date: Mar 2001
Posts: 1,809
Likes: 0
Received 0 Likes on 0 Posts
Post

dont know what has to be done at the mo
but ill have more of a think

can u use the certificate in another way?
to ensure that it works?
have u connected to a non-SSL url and achieved success with the code?
... off to think more..
Old 16 February 2003, 11:31 AM
  #5  
BigGT3Fan
Scooby Regular
Thread Starter
 
BigGT3Fan's Avatar
 
Join Date: Jul 2001
Posts: 464
Likes: 0
Received 0 Likes on 0 Posts
Post

I don't have any non-SSL URL's to try

The SSL URL, when browsed to returns an access error, even though I have the cert installed in the browser cert store, but the other party told me that I wouldn't be able to browse to it.

When they do it from Java, they set up an SSL socket connection, assign the cert to it and then connect through that, but I can't find any alternatives in VB


Alex
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
DJZsti
Subaru Parts
5
08 February 2019 07:41 PM
roysc
ScoobyNet General
2
16 September 2015 09:10 AM
The Joshua Tree
Computer & Technology Related
18
11 September 2015 09:24 PM
PeterJ
ScoobyNet General
1
24 July 2001 05:26 PM
Dream Weaver
ScoobyNet General
22
24 May 2001 05:39 PM



Quick Reply: Scoobynetters to the rescue again? VB/XML/SSL experts?



All times are GMT +1. The time now is 12:15 PM.