Once the code signing certificate has been installed on your browser, you can export it and and convert it for subsequent use. This process requires exporting the certificate file in PFX format, and then converting it into two files: PVK and SPC. Here's how:
See Exporting a Code Signing Certificate from Internet Explorer or Firefox or Exporting a Code Signing Certificate from Internet Explorer or Firefox for information to export the PFX file.
Before You Begin: You need the following tools installed. Use the links to download the tools, if needed:
• OpenSSL — Click here to install OpenSSL, here to download compiled binaries directly from the OpenSSL website, or consult help for your operating system's package management feature.
• PVK Transform Utility — Click here to download a copy of the utility.
This procedure extracts your key file and converts it to a PVK file, then extracts your certs file and converts it to an SPC file. Then you can use these files with other software tools.
openssl pkcs12 -in inf.pfx -nocerts -nodes -out outf.pem
pvk -in inf.pem -topvk -out outf.pvk
openssl pkcs12 -in inf.pfx -nokeys -out outf.pem
openssl crl2pkcs7 -nocrl -certfile inf.pem -outform DER -out outf.spc