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

Reply via email to