How to sign code with only a .SPC file

code-signingcodesign

I use InstallShield 2010 which requires a SPC/PFX and a PVK file to sign my files. I just got a Code Signing CERT but all they gave me was a SPC file. I right-clicked it and installed it in Windows 7. I assume the PVK file is somewhere on this system but I cannot find it using the Certificates MMC, etc.

So how will I use this SPC file in InstallShield to sign my files without have a PVK file? I can view the certificate in "My Store" (Personal certs) and export it to a .CER or P7B but the PFX option is grayed out so I can't export the PVK for some reason.

Is it possible to sign using InstallShield without a PVK file? I'm also concerned what will happen if I have to reload this computer, how will I install this code signing .SPC again with no PVK file? I'm used to keeping PFX files on my backup system. It's a 3 year cert so I imagine in 3 years I am going to reload this computer.

Best Answer

This works from IE, you just have to know the hoops.

Download the .spc certificate from GoDaddy. Go to IE->Tools->Internet Options->Content->Certificates->Personal. If the cert is not there, import it. Once it is there, then you can chose Export->Next->Yes, Export private key->Personal Information Exchange - PKCS #12 (.PFX)

Related Topic