Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 Software Publisher Certificate Test...
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Tools
Software Publisher Certificate Test Tool (Cert2spc.exe)

Updated: November 2007

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 on creating X.509 certificates, see the Certificate Creation Tool (Makecert.exe).

cert2spc cert1.cer [cert2.cer … certN.cer] outputSPCfile.spc

Argument

Description

certN.cer

The name of an X.509 certificate to include in the SPC file. You can specify multiple names separated by spaces.

outputSPCfile.spc

The name of the PKCS #7 object that will contain the X.509 certificates. You can use the .spc file as input to the File Signing Tool (Signcode.exe).

Option

Description

/?

Displays the command syntax 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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker