Hi,
I am using the open ssl library on the embedded MIPS platform, i have cross compiled the openSSL source code for the my MIPS platform and i'm using the same library to link with my application. Here i'm able to set the device certificate in PEM format successfully using the function "SSL_CTX_use_certificate_chain_file", but i'm getting an error from the function "SSL_CTX_use_PrivateKey_file" while i'm trying to set the private key (which is in PEM format). The error i received is /*unable to set private key file: 'device_privatekey' type PEM and Problem with the local SSL certificate. */The application is successfully establishes the TLS session with the server on X86 machine with Linux[Slackware] OS, using the SSL library in Linux and with same device certificate and device private key are used in above case.

Do you have any idea where I am making a mistake or missing something?
Had anybody before faced such issue?


Thanks and Regards,
Venkatgiri T
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to