0

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?

  • The extension is not really relevant but the content is. Have you checked if the contents of the files is already what you need? If not, what is the content? – Steffen Ullrich Jun 28 '21 at 04:24

0 Answers0