Difference between revisions of "Code Signing for Windows"

From Lazarus wiki
Jump to navigationJump to search
Line 5: Line 5:
 
1. Install (or generate the certificate) into Windows Certificate Center. EV certificates should also be installed, but signing them requires the hardware key to be present at the time of signing
 
1. Install (or generate the certificate) into Windows Certificate Center. EV certificates should also be installed, but signing them requires the hardware key to be present at the time of signing
  
2. Run the command line:
+
2. Very basic sign command line:
  
 
  signtool sign project1.exe
 
  signtool sign project1.exe

Revision as of 03:18, 12 February 2021

Signtool

Signtool comes as a part of Windows 10 SDK. The binary is typically installed at

C:\Program Files (x86)\Windows Kits\10\bin\__version__\x64

1. Install (or generate the certificate) into Windows Certificate Center. EV certificates should also be installed, but signing them requires the hardware key to be present at the time of signing

2. Very basic sign command line:

signtool sign project1.exe

See Also