I'm trying to sign an exe and when I run signtool with the command line below, it crashes with no output:
signtool.exe sign /v /debug /fd SHA256 /tr "http://timestamp.acs.microsoft.com" /td SHA256 /dlib "Microsoft.Trusted.Signing.Client\bin\x64\Azure.CodeSigning.Dlib.dll" /dmdf metadata.json c:\path\to\app.exe
Some relevant details:
- arm64 version of Windows 11 via Parallels on a Mac
- x64 version of signtool
- x64 version of the Trusted Signing dlib
- Latest VC++ Runtime Redistributables
- .NET 8.0 Runtime
- I've tried running this in the default command prompt, the VS2022 x64 command prompt, and the VS2022 x64_x86 command prompt
Since there was no output before the crash, I looked in the Event Viewer and saw the following:
Faulting application name: signtool.exe, version: 10.0.26100.1, time stamp: 0x1b4f2e48
Faulting module name: msvcrt.dll, version: 7.0.26100.1882, time stamp: 0x1b2506a2
Exception code: 0x40000015
Fault offset: 0x0000000000092884
Faulting process id: 0xB94
Faulting application start time: 0x1DB1F192AF21973
Faulting application path: c:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\signtool.exe
Faulting module path: C:\WINDOWS\System32\msvcrt.dll
I'm probably missing something painfully obvious, but any insight or suggestions would be super helpful. Thanks!