|
Converting a PFX file to spc and pvk
files.
How to convert your .PFX
(p12) certificate to a .pvk + .spc combination.
Export your certificate to a pfx file (be sure to check "Include all
certificates in the certification path if possible"). (The latter will
help ensure it is accepted by more systems.
Install openssl. You can find compiled binaries on
www.openssl.org
(but get the Windows build from
Shining Light Production
http://www.shininglightpro.com/download/Win32OpenSSL_Light-0_9_8g.exe
or from openssl.org depending on your platform )
Extract your private key from the pfx file.
->openssl pkcs12 -in -nocerts -nodes -out
The pfx password will be asked.
Download the pvk transform utility.
-> pvk -in -topvk -out
Extract your certificates from the pfx file.
openssl pkcs12 -in -nokeys -out
The pfx password will be asked.
Transform your pem file to a spc file
->openssl crl2pkcs7 -nocrl -certfile -outform DER -out |