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 http://www.shininglightpro.com/ http://www.shininglightpro.com/download/Win32OpenSSL-v0.9.7d.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. This file can be found at https://support.comodo.com/index.php?_m=downloads&_a=viewdownload&downloaditemid=71&nav=0 .
-> 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