> On Sep 12, 2016, at 4:08 PM, zy_chongqing via RT wrote:
>
> SSL_CTX_use_certificate_file return 0, and the log show: error:140AB18F:SSL
> routines:SSL_CTX_use_certificate:ee key too small
> 1. this programe is running well in one server, but failed in another.
> actually
> On Sep 12, 2016, at 4:08 PM, zy_chongqing via RT wrote:
>
> SSL_CTX_use_certificate_file return 0, and the log show: error:140AB18F:SSL
> routines:SSL_CTX_use_certificate:ee key too small
> 1. this programe is running well in one server, but failed in another.
> actually
Hello,
I have a function to initial the CTX as below:
#define CA_CERT_PATH "./pem"
#define RSA_CLIENT_CERT "./pem/PushChatCert.pem"
#define RSA_CLIENT_KEY "./pem/PushChatKey.pem"
bool CAPNSClient::InitCTX()
{
SSL_library_init();
SSL_load_error_strings();