I used the cli.cpp, serv.cpp and inetdsrv.cpp in openssl-0.9.4/demo/ssl. I
changed the directory for HOME, CERTF and KEYF to reflect my fully qualified
directory, certificate and key files.
I added the line

inetdsrv stream tcp nowait root /export/home/rlevine/inetdsrv inetdsrv

to /etc/inetd.conf

and

inetdsrv 1111/tcp

to /etc/services.

I'm running SunOs and compiled openssl and the demo programs with gcc.
If I ran cli and serv, everything works fine. If I run cli and inetdsrv, cli
fails at the SSL_connect. I get the following error:

13379:error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared
cipher:s3_srvr.c:714

This translates to returning NULL from:

ssl3_choose_cipher(s, s->session-ciphers, ssl_get_ciphers_by_ids(s));

Next, I'm going to compile openssl with -DCIPHER_DEBUG to get more info.

It appears that there are no ciphers. What can be the cause of this? Any
suggestions?



--
Ron Levine
Mirror Image Internet, Inc.
v: 781.376.1191
f: 781.376.1110
e: [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to