Code signing
Microsoft SignTool
Test Microsoft SignTool commands
3min
this section shows you how to run two microsoft signtool commands ( signtool sign and signtool verify ) the signtool sign command pertains more specifically to this integration becasue it is the only signtool command that initiates communication with the {{vectera}} signtool must be able to access the private key that is stored on the {{vectera}} to complete the code signing operation successfully sign a file by using the configured code signing certificate the following example shows an exe file being signed, but you can sign several other types of files by using signtool refer to the following url for details https //docs microsoft com/enus/windows/win32/seccrypto/cryptography tools open the windows command prompt application and run the following command, replacing mycertificate with the subject name of your certificate and example exe with the name of the file that you are signing signtool sign /sm /fd sha256 /s my /n "mycertificate" example exe if the command succeeds, you should receive the following message done adding additional store successfully signed example exe verify the file that was signed to verify the file that was signed, run the following command signtool verify /pa example exe if the command succeeds, you should see output similar to the following example file example exe index algorithm timestamp \======================================== 0 sha1 none successfully verified example exe