Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.72 KB

File metadata and controls

37 lines (25 loc) · 1.72 KB
description ms.assetid title ms.topic ms.date
Learn how to use the Cert2SPC tool to create test Software Publisher Certificates from X.509 certificates in the Windows SDK for development purposes.
d05df388-c19d-47a5-9ede-11cf06c29fc8
Cert2SPC Tool - Create Test Software Publisher
reference
08/21/2025

Cert2SPC

The Cert2SPC tool creates test Software Publisher Certificates (SPCs) from existing X.509 certificates, enabling developers to generate test certificates for code signing during development. 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 here.

Note

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

Syntax

Use the following syntax to create a test SPC:

Cert2SPC Cert1.cer Cert2.cerOutput.spc

Parameters

The following parameters are required:

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.

Related content