To import public/private key combination that was generated through OpenSSL, you need to transform them a little bit.
1) extract public key using the following command :
openssl rsa -in cert.pem -RSAPublicKey_out -out rsapubkey.pem
it will generat...