WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: "no shared cipher"

"no shared cipher"

by crk-2 :: Rate this Message:

| View in Thread

Hi,

I am trying to establish an tls1 connection between a server and a
client, running in two threads.

When doing the handshake the server gets the hello message and throws an
error:
error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher

I am using on both sides SSL_CTX_set_cipher_list(ctx, "RC4-SHA").

To figure out the cipher string I used the following command:
openssl ciphers -tls1 "aRSA:AES:-kEDH:-ECDH:-SRP:-PSK:-NULL:-EXP:-MD5:-DES"
which gave me:
ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:ECDHE-RSA-DES-CBC3-SHA:ECDHE-RSA-RC4-SHA:ECDH-RSA-AES256-SHA:ECDH-RSA-AES128-SHA:ECDH-RSA-DES-CBC3-SHA:ECDH-RSA-RC4-SHA:AES256-SHA:AES128-SHA:DES-CBC3-SHA:RC4-SHA

Also the certs and private keys for server and client are set up. No
error here, I believe.

What am I doing wrong? (see more here: http://paste.debian.net/162331/)

Thanks so far,
aureliano =)
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@...
Automated List Manager                           majordomo@...

 « Return to Thread: "no shared cipher"