If I want to sign the file locally everything works. However, if I want to sign the file on the web server, the following error "Signtool Error: This file format cannot be signed because it is not recognized" occurs
Scenario: I have a web page where I sign the file when I use Visual Studio and IIS Express to make it work.
When I do it with the external web server it doesn't work.
When I do it with the external web server it doesn't work.
If I execute the command directly on the web server via PowerShell, the same error message appears again.
cmd: C:\CodeSignerTools\Signtools\signtool\signtool.exe sign /v /sm /s My /n "BURAUT VBS SAIFR - V9" /fd sha256 /tr http://tsa.pki.admin.ch/tsa /td sha256 "C:\CodeSignerUploadedFiles\20191029-112048232_U80849259_test.vbs\test.vbs"