SignTool: Sign Windows code with a code signing certificate
After you've created your
PFX file, you can sign your code with Microsoft SignTool.
Our code signing certificates work with the following types of Windows-based files:
Note: For CAB files, space should be allocated for the digital signature by adding the following entry to your
DDFfile before creating the cab file: Set ReservePerCabinetSize=6144.
Use SignTool to sign your code
- Install SignTool using Microsoft's information. This involves downloading and installing Microsoft Windows Software Development Kit (SDK).
- Launch cmd.
- Sign your file:
SignTool sign /f path to your PFX file /p your PFX file password /tr http://tsa.starfieldtech.com /td SHA256 path to the code you want to sign
Note: You must use the http://tsa.starfieldtech.com time stamp authority.
- Start distributing your newly signed file to your users