Difference between revisions of "Quick Guide to .exe code signing"

From HoerupWiki
Jump to: navigation, search
(Created page with "* RDP to wi2cccrt02 and enable access for your user to use CodeSigning template * Open PowerShell, and issue a new cert for code signing ** <code>Set-Location Cert:\CurrentUse...")
(No difference)

Revision as of 09:27, 16 May 2017

  • 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>