On Sun, Apr 16, 2000 at 06:55:39PM +0200, pgold wrote:
> Dear All,
>           Can any one help me about how to choose the cipher ?
> All what I know about this, is to
> set the cipher list (SSL_SET_CIPHER_LIST(SSL,"RSA"))
> and when I try to print the cipher name or list it is (NONE).
> And I get the message (SSL3_GET_CLIENT_HELLO): no shared cipher
> It seems that cipher need to be set in the session part as I guess because
> when I searched for this error, I found that SSL->session->ciphers==NULL

What kind of client do you use?
Try "openssl ciphers RSA" to find out the list of ciphers supported.
Use e.g. netscape to connect to "openssl s_server -ciphers RSA -debug"
to get detailed information on the ciphers for this case (128bit Netscape
with openssl 0.9.5a yields:
Shared 
ciphers:RC4-MD5:DES-CBC3-SHA:DES-CBC-SHA:EXP1024-RC4-SHA:EXP1024-DES-CBC-SHA:EXP-RC4-MD5:EXP-RC2-CBC-MD5
CIPHER is RC4-MD5.
Then use your client to compare the result.

Best regards,
        Lutz
-- 
Lutz Jaenicke                             [EMAIL PROTECTED]
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to