Re: possible reasons for SSL_connect() failure

2006-02-07 Thread Pjothi
I just added the Server certificate Server Private key and CA-list I didnt add the CA certificate on the server side, I didnt see any such option in the configuration file of the OpenSER, should I do that too ? can anyone pls post the configuration file of OpenSER with TLS ? thanks and regards,

Re: possible reasons for SSL_connect() failure

2006-02-07 Thread Kyle Hamilton
Did you add the CA certificate to both the client and server as a as a trusted certificate for peer authentication? Can you connect to the server on that port using openssl s_client? Can you run an openssl s_server on the server's port to make sure that the client is actually connecting? -Kyle H

Re: possible reasons for SSL_connect() failure

2006-02-07 Thread Pjothi
Dear Ambarish Mitra and others, There is the following error in system call: ipMessageTransport: sendMessage: creating new socket Creating new SSL_CTX SSL connect: Error in system call. Could not get server certificate SipMessageTransport: sendMessage: exception thrown! SipMessageTransport: sendM

RE: possible reasons for SSL_connect() failure

2006-02-07 Thread Ambarish Mitra
Use: SSL_get_error(ssl, err); This will give you more information on SSL_connect failure. err = SSL_connect (ssl); if (err <=0) { int errcode = SSL_get_error(ssl, err); switch(errcode) { case SSL_ERROR_NONE: break;// Cannot happen if err <=0 case SSL_ER