Ask a Question

Advanced Search

Solution ID : SO6870

Last Modified : 06/21/2018

Convert a .cer file to .spc

Problem


 

Solution

To convert the .cer file to a .spc format, please follow the steps below:

  1. Download .NET Framework SDK Version 1.1 from http://www.microsoft.com/downloads/details.aspx?FamilyId=9B3A2CA6-3647-4070-9F41-A333C6B9181D&displaylang=en
  2. Locate the Cert2spc.exe file which can be found in the /bin directory where you installed the .NET Framework SDK
  3. The following command creates a SPC from myCertificate.cer and places it in mySPCFile.spc
     
    Cert2spc myCertificate.cer mySPCFile.spc

  4. Use your .spc to sign code by following solution SO1442