".pem" doesn't say much.
If it is a file containing both the key and the certificate and it is in PEM format (as the name suggests), it is a sort of text.
You can simply edit it and split it in two files, one containing the part

-----BEGIN CERTIFICATE-----
data... data... data...
-----END CERTIFICATE-----

the other with the part

-----BEGIN RSA PRIVATE KEY-----
data... data... data...
-----END RSA PRIVATE KEY-----

Consider that the key part, if the key is encrypted, has a different look but it is not hard to guess.

Bye

   Umberto


On 12/14/2013 02:50 AM, Kaushal Shriyan wrote:
Hi,

I have a .pem file. Is there a way to get it converted into .crt and .key files using openssl tool.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to