- Purchase a code Signing certificate from http://www.ascertia.com/OnlineCA/default.aspx (There is a 30 days demo also) and download the private key with certificate (pfx file)
- Open command prompt
- Go to directory
1%programfiles%\Microsoft.NET\SDK\v2.0 64bit\Bin\ - Ready to sign your file by typing:
1signtool sign /f <span>C:\file.pfx</span> /p password C:\filename.exe - Verify the file:
1signtool verify /pa /v C:\filename.exeMore information: https://www.ascertia.com/helpdesk2/index.php?/Knowledgebase/Article/View/13