How to convert .P12 Certificate (ECC crypted) to .PEMs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi OpenSSL Community,

 

actual I have to convert a .P12 certificate (RSA crypted/created) into .PEM certificates,

I use the following commands:

openssl pkcs12 -in "inCert.p12" -clcerts -nokeys -out "outCert.pem" -passin pass:<pw>

openssl pkcs12 -in "outCert.pem" -nocerts -out "outTmpKey.pem" -passin pass:<pw> -passout pass:<pw>

openssl rsa -in "ouTmpKey.pem" -out "outKey.pem" -passin pass:<pw>

 

I can’t say, if these 3 commands are the best way, but they still work fine and I can use the outCert.pem and the outKey.pem.

 

Now I have to convert a .P12 certificate, which is crypted/created with ECC.

 

The first command still works (I think so, ‘cause there are no errors):

openssl pkcs12 -in "inCert.p12" -clcerts -nokeys -out "outCert.pem" -passin pass:<pw>

 

But not the rest of the commands. I tried to use the ec or ecparam parameter, but I couldn’t figure out how to use them correct.

 

I am happy about any help or hint

 

 

Regards

Michael

 


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux