Hi all,

I am new to openSSL.I want to make SSLv3 node(client/server) to
communicate to TLSv1 node(client/server).Condition is that they work
only on protocols and not on other protocols.
eg.SSLv3 client will work only on SSLv3.

On creation of SSL_CTX , I do the following :-

::client side (TLSv1)::

      /* Create our context*/
    meth=SSLv23_client_method();
    ctx=SSL_CTX_new(meth);

    SSL_CTX_set_options(ctx,SSL_OP_NO_SSLv2);
    SSL_CTX_set_options(ctx,SSL_OP_NO_SSLv3);

::server side (SSLv3)::

       /* Create our context*/
    meth=SSLv23_server_method();
    ctx=SSL_CTX_new(meth);

    SSL_CTX_set_options(ctx,SSL_OP_NO_SSLv2);
    SSL_CTX_set_options(ctx,SSL_OP_NO_TLSv1);

When client tries to connect to the server, I get the error messages as
below:-

::Client Side(TLSv1)::
SSL connect error
7805:error:140C5042:SSL routines:SSL_UNDEFINED_FUNCTION:called a
function you should not call:ssl_lib.c:1856:

::Server Side(SSLv3)::
SSL accept error
7806:error:140C5042:SSL routines:SSL_UNDEFINED_FUNCTION:called a
function you should not call:ssl_lib.c:1856:

I have also tried with the methods like
SSLv3_client_method(),SSLv3_method(),TLSv1_server_method,etc........
but even they give error while connecting.

Please guide me ........

Thanks in advance.

Regards,
RK.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to