Quick Guide to .exe code signing
- RDP to wi2cccrt02 and enable access for your user to use CodeSigning template
- Open PowerShell, and issue a new cert for code signing
Set-Location Cert:\CurrentUser\My
Get-Certificate -Template CodeSigning
- To sign the .exe:
- Do _NOT_ try to make Visual Studio make the code signing - it sucks big time (do not touch clickonce etc)
- open a cmd
- cd <your project>\bin\release
"c:\Program Files (x86)\Windows Kits\8.1\bin\x64\signtool.exe" sign <your-exe-file>