I have a private key file which is in binary format. I need to convert it into .pem format. I am able to convert using base64 but openssl is not accepting this file. Is there any other way to convert binary to .pem which is acceptable by openssl.