indikad
asked on
Client Certificate with HTTPS request - MSXML - Urgent
Hi all,
Using VB6
I have to send a name of a Client Certificate along with HTTPS request . In the egs suggest to do this is using "setOption"
objHTTP.setOption SXH_OPTION_SELECT_CLIENT_S SL_CERT, CertificateFileName
This "setOption" is part of the "MSXML2.ServerXMLHTTP " and everytime I try to send requests, an error message comes up "This server does not implement the requested method". What is this error ? Is there any other way that I can send this CertificateName within VB6. If I use MSXML.XMLHTTP, I can send requests, but unable to send the certificate name.
Thaks a lot
Indika
Note: I had this under the wrong topic befopre, hopefully will get some answers this time.
Using VB6
I have to send a name of a Client Certificate along with HTTPS request . In the egs suggest to do this is using "setOption"
objHTTP.setOption SXH_OPTION_SELECT_CLIENT_S
This "setOption" is part of the "MSXML2.ServerXMLHTTP " and everytime I try to send requests, an error message comes up "This server does not implement the requested method". What is this error ? Is there any other way that I can send this CertificateName within VB6. If I use MSXML.XMLHTTP, I can send requests, but unable to send the certificate name.
Thaks a lot
Indika
Note: I had this under the wrong topic befopre, hopefully will get some answers this time.
use the WinHTTP.WinHTTPRequest.5.1 object instead in VB6.
ASKER
Thank you for this.
Indika.
Indika.
ASKER
I did use the latest version of MSXML Version 4 with SP2. The object is MSXML2.ServerXMLHTTP40 and this has the method setOption to set the name of the Client Certificate. This works fine in VB6. I did not try WinHTTP object for this.
Is there any advantage/difference with these two object?
Thanks
Indika
Is there any advantage/difference with these two object?
Thanks
Indika
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the this.
I have alsready done this project using MSXML2.ServerXMLHTTP40. May be next time I might try this method.
I have alsready done this project using MSXML2.ServerXMLHTTP40. May be next time I might try this method.