AW: AW: How to figure out if .P12 is RSA or ECC crypted

Tomas Mraz tomas at openssl.org
Thu Jun 9 14:53:20 UTC 2022


On Thu, 2022-06-09 at 13:14 +0000, Beilharz, Michael wrote:
> well, i use:
> 
> pkcs12 -in "cert.p12" -clcerts -nokeys -out cert.PEM" -passin
> pass:<pass>
> pkcs12 -in "cert.p12" -nocerts -out tmpkey.PEM -passin pass:<pass> -
> passout pass:<pass>

Instead of this step you can just use:

pkcs12 -in "cert.p12" -nocerts -nodes -out key.pem -passin pass:<pass>

if you need unencrypted private key in PEM file.

-- 
Tomáš Mráz, OpenSSL




More information about the openssl-users mailing list