|
Hi All, I’m trying to port the OpenSSL
0.9.6a library for an embedded web server.
So far the handshake state
machine will go all the way to the SSL2_ST_SEND_SERVER_FINISHED_B state where the
server_finished message is sent. Somehow the client side (IE5.5) will
always drop the connection after the message is received. My understanding of the SSL handshake is
that data becomes encrypted after getting the client_master_key,
and I can successfully receive the client_finished
message (encrypted). So it looks
like the handshake is kinda done (both sides have
established an encrypted channel for message exchange). When I used the OpenSSL
client with my port, everything went ok and the connection was kept open. Then I thought it could be IE’s
problem and redo my test with IE and the OpenSSL
sample server app under Linux. As
you may expect, it work fine. Now can
someone please suggest any reasons why the connection is dropped by IE after the
server_finished message is received? FYI, the embedded OS is cooperative
and socket read is done via a calledback mechanism. Thank you -Cheuk |
