Transform your Certificates to a PVK + SPC Combination
Global Support Centre > Code Signing > PVK + SPC Combination
How to Transform your Certificates 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").Click here for export instructions
- Install openssl. You can find compiled binaries on www.openssl.org
- Extract your private key from the pfx file with the following command:
->openssl pkcs12 -in <pfx-file> -nocerts -nodes -out <pem-key-file>- Enter the pfx password when prompted
- Download the pvk transform utility from: http://www.globalsign.com/support/code-signing/PVK.zip
-> pvk -in(pem-key-file) -topvk -out (pvk-file) Example: -> pvk -in SOMETHING.PEM -topvk -out SOMETHING.pvk- Extract your certificates from the pfx file with the following command:
openssl pkcs12 -in <pfx-file> -nokeys -out <pem-certs-file>- Enter the pfx password when prompted
- Transform your pem file to a spc file with the following command:
->openssl crl2pkcs7 -nocrl -certfile <pem-certs-file> -outform DER -out <spc-file>
How to combine spc and pvk to a keystore certificate
- Download and install the pvkimport utility here: http://office.microsoft.com/downloads/2000/pvkimprt.aspx
- To export it to a pfx (pkcs12) use this command:
pvkimprt -PFX <spc-file> <pvk-file> <pfx-file>- To import it immediately to your keystore = registry do this:
pvkimprt -import <spc-file> <pvk-file>- Enter the pfx password when prompted
- The Import Wizard will open, click Next to continue
- Let the system decide the location
- Click Finish to complete the import
- Your certificate should now be available to your system. You can sign with Signcode from Microsoft.




