Openssl - Commandes de conversion

De PFX vers .crt et .key :

openssl pkcs12 -in <chemin/vers/pfx> -nocerts -out private.key
openssl rsa -in private.key -out private_unencrypted.key
openssl pkcs12 -in <chemin/vers/pfx> -clcerts -nokeys -out certificate.crt


De .crt & .key vers .pfx

openssl pkcs12 -inkey private.key -in certificate.crt -export -out myfile.pfx



Revision #1
Created 2026-07-17 22:33:09 UTC by Olivier
Updated 2026-07-17 22:33:09 UTC by Olivier