Convert Private Key to RSA

  Print
Some hosting systems require the Private key to be in RSA format rather than PEM. You can easily convert these files using OpenSSL.

Your private key file will usually start with

-----BEGIN PRIVATE KEY-----
an RSA private key will start with

-----BEGIN RSA PRIVATE KEY-----
To convert your key simply run the following OpenSSL command

openssl rsa -in domain.key -out domain-rsa.key


Related Articles