SignTool Error: This file format cannot be verified because it is not recognized when trying to sign macro files - Is signtool.exe not supporting macro files anymore?
Hi. I would like to sign my VBA macros with a digital certificate. However, using Microsoft SignTool gives me the same error (SignTool Error: This file format cannot be verified because it is not recognized) when trying to sign or verify a signature for a macro containing file.
I know that two versions of the signtool.exe exist: a 32 bit and a 64 bit version and that only the 32bit version can work with macro containing files. If I try to use signtool.exe (32bit) to verify the signature of an executable file it is working even through I should not be able to do this with this version.
The path to signtool.exe is C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x86
Using signtool.exe from a previous version of Windows Kits is working.
I this a general problem with the latest version of Windows Kits or is signtool.exe not supporting the signing of macros anymore?