I have two files:
name.cer
name.key
the .key have pass
And want to convert them to:
name.cer.pem
name.key.pem
I have the example results,
the .cer.pem is like
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQ...
-----END PUBLIC KEY-----
-----BEGIN CERTIFICATE-----
MIIGZDCCBEygAwIBAgIUMD...
-----END CERTIFICATE-----
and the .key.pem is like
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,E1F3AB3196CF3E29
1p8o43sRNEfsvr2XF5W9DM...
-----END RSA PRIVATE KEY-----
How i can convert them like that?