The answer is clear: no shared cipher
Specify more ciphers in server's configuration file...
george
----- Original Message -----
From: Brian Smith <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 04, 2001 10:07 AM
Subject: simple encryption without certificates and keyfiles
> I am just trying to get a simple DCC (IRC) connection established through
SSL
> and when I use this code I get this result:
>
> int SSL_dcc_create(SocketList *s, int sock, int doconnect)
> {
> set_blocking(sock);
> if(doconnect)
> s->ctx = SSL_CTX_new (SSLv23_client_method());
> else
> s->ctx = SSL_CTX_new (SSLv23_server_method());
> s->ssl_fd = SSL_new (s->ctx);
> SSL_set_fd (s->ssl_fd, sock);
> if(doconnect)
> return SSL_connect (s->ssl_fd);
> return SSL_accept(s->ssl_fd);
> }
>
> On the client end I get:
>
> ��� error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert
handshake failure
>
> On the server end I get:
>
> ��� error:1408A0C1:SSL routines:SSL3_GET_CLIENT_HELLO:no shared cipher
>
> Does anyone know what would cause this? Is it possible to have a server
with no
> certificates or keyfiles? Or am I just missing something very obvious?
>
> Thanks!
>
> Brian Smith
>
> ______________________________________________________________________
> OpenSSL Project http://www.openssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]