Hi, sorry, I can not help you, instead I need ask for your help. :( I have wrote a SSL enable client application, but it does not work correctly. I initialize SSL like this: //SSL Global Initialization SSL_load_error_strings(); ERR_load_BIO_strings(); OpenSSL_add_all_algorithms(); Problem is,every time SSL_CTX_new(SSLv23_client_method());return NULL.it reports error on the stderr: 2458:error:140A90A1:SSL routines:SSL_CTX_new:library has no ciphers:ssl_lib.c:1424:
So, i want to know how do you initialize SSL in your client application. Thanks a lot! On 11/25/06, Prabhu.S <[EMAIL PROTECTED]> wrote:
Hello All: We had an SSL enabled client application which was working fine.Recently we ran our client application in a machine with Cavium Nitrox Cards to enable efficient operation during stress scenario. The NITROX SDK includes an evaluation board with modified OpenSSL using Cavium's TurboSSL Macro APIs. However I didn't change none of the OpenSSL API's which I had before to make it compatible with the Cavium except for including some of the libraries of Cavium Turbo SSL. I observe that 80% of the time the "SSL_CTX_use_PrivateKey_file" function returns false.Thus the key file fails to get read. In non cavium mode I have no issues. All sessions run smoothly. My function is as below: *if(!(SSL_CTX_use_PrivateKey_file(ctx,clientcert,SSL_FILETYPE_PEM))) { LOG_ERROR_MSG << "Can't read key file of :" <<clientcert <<endlog; SSL_CTX_free(ctx); return 0; }* ** ** Have any one faced this issue? I would be grateful for any help. Thanks & Regards, Prabhu. S