OpenSSL :: convert P12/PFX to .PEM / .KEY

OpenSSL :: convert P12/PFX to .PEM / .KEY

covert to PEM (Private en Publickey in een) (In dit voorbeeld de pmaca.p12 is dus de bestandsnaam, die zal anders zijn in jullie situatie)

openssl pkcs12 -in <name>.p12 -out pmaca.pem -nodes

convert to PEM without key file and seperate keyfile

openssl.exe pkcs12 -in <name>.p12 -nocerts -out pmaca.key openssl.exe pkcs12 -in <name>.p12 -clcerts -nokeys -out pmaca.pem

optionally when you want to remove the password from the .key or .pem file use this command

openssl.exe rsa -in <input file name> -out <output file name>