I have a client application that connects to a Silverstream server.

The client previously worked with no problems when connecting to a Netscape Enterprise 
server.

I am unable to get a cipher or certificate from the SilverStream server.  I believe 
the server is using RC4.

Code excerpts:

    RAND_add(rand_buf, 17, 17);

    SSLeay_add_ssl_algorithms();
    meth = SSLv2_client_method();
    SSL_load_error_strings();
    ctx = SSL_CTX_new (meth);

    fprintf(stderr, "SSL connection cipher using %s\n", SSL_get_cipher(ssl));
     /* This results in %s being '(NONE)'  */

    errcode = SSL_write (ssl, xml, strlen(xml));

        ssl_err = ERR_get_error()
        sprintf(message, "%s: %s %s %s\n", __FILE__,
                            ERR_lib_error_string(ssl_err),
                            ERR_func_error_string(ssl_err),
                            ERR_reason_error_string(ssl_err) );

The first error my code returns is:
SSL routines SSL2_WRITE ssl handshake failure


Any suggestions greatly appreciated!


--

NOTICE:  The information contained in this electronic mail transmission is
intended by Convergys Corporation for the use of the named individual or
entity to which it is directed and may contain information that is
privileged or otherwise confidential.  If you have received this electronic
mail transmission in error, please delete it from your system without
copying or forwarding it, and notify the sender of the error by reply email
or by telephone (collect), so that the sender's address records can be
corrected.


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

Reply via email to