I already have purchased SSL certificate and i have received certificate and a .pem file as a private key? from the supplier; now i need to convert this .pem key into .key for b
I assume you want the DER encoded version of your PEM private key.
openssl rsa -outform der -in private.pem -out private.key