Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Msxml2.XMLHTTP.4.0 HttpRequest and SSL

Status
Not open for further replies.

Jorrti

Programmer
Jun 10, 2003
13
NL
Hi all,
I'm having a very weird problem using Microsoft's MSXML HttpRequest object. It works fine when I use it to do a normal 'GET' or 'POST' request. Now I need to connect to a SSL (URL starts with " location and the following problem occurs.
-When I post a request the connection brakes down during the ssl handshake.
-when I post an empty request, the handshake goes well and a certificate is installed (after clicking 'OK' in an IE pop-up). After the handshake is done I can post every request I like.
-But when i close my program and want to post again i have to post an empty request first to get the handshake working.

-what's wrong here?
-is it normal that I have to click OK everytime I connect for the first time in 1 session?
-help is highly appreciated!

Greetz, Jorrti
 
Any help would be highly appreciated.
 
Jorrti, my understanding is that SSL is session based. The encryption key is generated dynamically for each session and is not retained by either cleint nor server after the session ends.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top