I noticed this problem when I used SSLeay 0.9.0b, and I still have the
same problem with OpenSSL 0.9.1c under Win98...
There are some things I cannot do with the ssleay.exe app:
- use s_client to connect to a web server and ask for the / page. The
negociation goes well, but I can't type anything, and when I stop the
s_client with Ctrl-C, a Windows dialog box raises about an invalid
operation (the message is in French), and everything I typed goes to
the prompt.
- use s_server and s_client on the same machine. The negociation itself
doesn't work:
Client side: (ssleay s_client -connect localhost:4433 -state)
CONNECTED(00000030)
SSL_connect:before SSL initialization
SSL_connect:SSLv2/v3 write client hello A
SSL3 alert read:fatal:handshake failure
SSL_connect:error in SSLv2/v3 read server hello A
4291104221:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert
handshake failure:.\ssl\s23_clnt.c:446:
Server side: (ssleay s_server -accept 4433 -nocert -state)
Using default temp DH parameters
ACCEPT
SSL_accept:before SSL initialization
SSL3 alert write:fatal:handshake failure
SSL_accept:error in SSLv3 read client hello B
SSL_accept:error in SSLv3 read client hello B
DELAY
SSL_accept:failed in SSLv3 read client hello B
ERROR
shutting down SSL
CONNECTION CLOSED
ACCEPT
I have the same result when I want to connect to this server from my
Linux machine. I know this one works well, though...
When I start the server on the Linux machine, and I want to connect from
the Win98 one, I get the result below on the server side:
Using default temp DH parameters
ACCEPT
SSL_accept:before SSL initialization
SSL3 alert write:fatal:handshake failure
SSL_accept:error in SSLv3 read client hello B
SSL_accept:error in SSLv3 read client hello B
ERROR
19719:error:1408A0C0:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher:s3_srvr.c:732:
shutting down SSL
CONNECTION CLOSED
ACCEPT
I just tested the stuff with my server and client on the same machine
(Linux), and I have the same result as described just above....
I don't understand anything..... :-(
--
Erwann ABALEA
[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]