The Cert2SPC tool creates a test Software Publisher Certificate (SPC) by using existing X.509 certificates. Cert2SPC can wrap multiple X.509 certificates into a PKCS #7 signed-data object. The tool is installed in the \Bin folder of the Microsoft Windows Software Development Kit (SDK) installation path.

Cert2SPC is available as part of the Windows SDK, which you can download from https://go.microsoft.com/fwlink/p/?linkid=84091.


This tool is for test purposes only. A valid SPC is obtained from a certification authority.

Cert2SPC Cert1.cer Cert2.cerOutput.spc


Parameters Description
Cert1.cer Cert2.cer Names of the X.509 certificates to include in the SPC. Each certificate name ends with the .cer extension.
Output.spc Name of the PKCS #7 object that contains the X.509 certificates to be created. The output file name ends with the .spc extension.