Hi,
I am new to openssl APIs. However I am using the current code from SIPp. Below
is the code snippet for the Private Key
if ( SSL_CTX_use_PrivateKey_file(sip_trp_ssl_ctx_client,
tls_key_name,
SSL_FILETYPE_PEM ) != 1 ) {
ERROR("FI_init_ssl_context: SSL_CTX_use_PrivateKey_file (client) failed");
return SSL_INIT_ERROR;
}
When I provide the Elliptic Private Key it always returns an Error.
-----BEGIN EC PARAMETERS-----
-----END EC PARAMETERS-----
-----BEGIN EC PRIVATE KEY-----
-----END EC PRIVATE KEY-----
My Private key looks as above
Thanks
Darshan