Digitally signing an executable to prevent blocking by Symantec Endpoint

165 Views Asked by At

I recently installed context on a laptop for which I do not control the security policy. The laptop has symantec endpoint protection installed and when I try to run the context executable from the command line Symantec Endpoint Protection opens with this window:

enter image description here

As it turns out, I can simply allow the file and the executable works as expected. I would like to sign this program such that symantec does not pick it up as a security risk. I installed the Windows Software Development Kit with signtool and tried the following command:

signtool sign /fd C:\context\tex\texmf-win64\bin\context.exe

Unfortunately, I got an error:

SignTool Error: The specified algorithm cannot be used or is invalid.

How can I sign the file without signtool throwing such an error? I've seen some stuff about certreq but I'm not sure if that's the way to go....

0

There are 0 best solutions below