How to sign a executable program using SignTool?

36 views Asked by At

I wrote a simple chat in Python. The IP and server port are specified in the code. I packaged the entire client part into .exe. Everything works fine for me. But when I transfer to other PCs, the program is immediately blocked, which is logical because I didn’t sign it. I wrote the code in Visual Studio Code, therefore, as I understand it, there is no menu for signing the program.

So I used the command line.

PS C:\Users\D-UC> & "C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool.exe" sign /a /fd SHA256 "C:\Users\D-UC\Documents\POP-CHAT\POP-CHAT.exe"

And I got this result SignTool Error: No certificates were found that met all the given criteria.

Please tell me how to solve this problem

0

There are 0 answers