Sign Code with Microsoft Authenticode
A Code Signing Certificate can be used to digitally sign code or content developed by Windows Programs. After you received the trusted certificate and saved the PFX (.p12) file, follow the instructions below to guide you through the signing process on a Windows Vista machine running version Windows SDK 6.0 or lower. If you're running version Windows SDK 7.0 or higher, reference our Microsoft SignTool Installation Instructions.
- To open the Microsoft Digital Signing Wizard, run the SDK command prompt. This requires you to already have .NET Framework SDK installed.
- In the command prompt, type signtool.exe signwizard and click Enter
- Click Next in the Digital Signature Wizard window
- Browse to your file and click Next
- For Signing Options, click Typical
- Use the Select from Store...button to browse to your certificate. Select your trusted Code Signing Certificate and click Next
- Enter a description or web location
- Select Next twice, through Timestamping and then Finish
- Your project has successfully been signed
If you did not use the timestamping feature, we highly recommend you read our article on the importance of timestamping any code to ensure your signature remains valid after certificate expiration.