Hello,
what file type is your binary file? SignTool only allows signing to some file types. Have a look here: files-supported-for-signing.html
Regards, Guido
Digitally sign binary file
Swanand
101
Reputation points
I have use case, where i am evaluating if sign tool can sign binary files ( not windows executable) some encrypted files using digital certificate and then check loading if certificate is valid or not.
But it seems that signtool only allows signing of DLL & EXE for others it throws following error
SignTool Error: This file format cannot be signed because it is not recognized.
I would like to know if there is anyway or some API where we can fulfil our use case?
Windows for business Windows Client for IT Pros Devices and deployment Configure application groups
3,086 questions
Developer technologies C++
3,971 questions
Developer technologies Visual Studio Other
5,451 questions
1 answer
Sort by: Most helpful
-
Guido Franzke 2,191 Reputation points
2022-12-15T09:31:36.42+00:00