Cert2spc.exe (Software Publisher Certificate Test Tool)
The Software Publisher Certificate Test tool creates a Software Publisher's Certificate (SPC) from one or more X.509 certificates. Cert2spc.exe is for test purposes only. You can obtain a valid SPC from a Certification Authority such as VeriSign or Thawte. For more information about creating X.509 certificates, see Makecert.exe (Certificate Creation Tool).
This tool is automatically installed with Visual Studio. To run the tool, use the Developer Command Prompt (or the Visual Studio Command Prompt in Windows 7). For more information, see Visual Studio Command Prompt.
At the command prompt, type the following:
The name of an X.509 certificate to include in the SPC file. You can specify multiple names separated by spaces.
The name of a certificate revocation list to include in the SPC file. You can specify multiple names separated by spaces.
The name of the PKCS #7 object that will contain the X.509 certificates.
Displays command syntax and options for the tool.
The following command creates an SPC from myCertificate.cer and places it in mySPCFile.spc.
cert2spc myCertificate.cer mySPCFile.spc
The following command creates an SPC from oneCertificate.cer and twoCertificate.cer, and places it in mySPCFile.spc.
cert2spc oneCertificate.cer twoCertificate.cer mySPCFile.spc