none
Signtool Error: This file format cannot be signed because it is not recognized VBS File RRS feed

  • Frage

  • Das Szenario ist so: Wenn ich die Webseite via Visual Studio starte und eine VBS Datei signieren will funktioniert das einwandfrei. Jedoch wenn ich auf die externe Webseite zugreife und die Datei signieren will kommt diese Fehlermeldung: Error while signing : SignTool Error: This file format cannot be signed because it is not recognized.

    Die Signtool.exe und Quellcode ist an beiden Orten gleich.

    Log Fiels

    Lokal: (Virtual Studio 2019 und IIS Express)
    INFO 2019-10-31 08:31:58,284 [7] SignLog - Upload dir created: C:\_TFS\AZD-VZD\CodeSigner2\CodeSigner2\UploadedFiles\20191031-083158253_U80849259_test.vbs
    INFO 2019-10-31 08:31:58,385 [7] SignLog - No virus found with scanner: C:\Program Files\Windows Defender\MpCmdRun.exe
    INFO 2019-10-31 08:31:58,385 [7] SignLog - Anti-virus scanning passed
    INFO 2019-10-31 08:31:58,739 [7] SignLog - File C:\_TFS\AZD-VZD\CodeSigner2\CodeSigner2\UploadedFiles\20191031-083158253_U80849259_test.vbs\test.vbs successfully signed.
    INFO 2019-10-31 08:31:58,739 [7] SignLog - Command : C:\_TFS\AZD-VZD\CodeSigner2\CodeSigner2\Tools\Signtools\signtool\signtool.exe sign /v /sm /s My /n "BURAUT VBS SAIFR - Vtest" /fd sha256 /tr http://tsa.pki.admin.ch/tsa /td sha256 "C:\_TFS\AZD-VZD\CodeSigner2\CodeSigner2\UploadedFiles\20191031-083158253_U80849259_test.vbs\test.vbs"

    external Webserver: (IIS Webserver)
    INFO 2019-10-31 08:14:03,846 [7] SignLog - Upload dir created: C:\CodeSignerUploadedFiles\20191031-081403830_U80849259_test.vbs
    INFO 2019-10-31 08:14:03,892 [7] SignLog - No virus found with scanner: C:\Program Files\Windows Defender\MpCmdRun.exe
    INFO 2019-10-31 08:14:03,892 [7] SignLog - Anti-virus scanning passed
    ERROR 2019-10-31 08:14:03,971 [7] SignLog - Error while signing : SignTool Error: This file format cannot be signed because it is not recognized.
    SignTool Error: An error occurred while attempting to sign: C:\CodeSignerUploadedFiles\20191031-081403830_U80849259_test.vbs\test.vbs
    INFO 2019-10-31 08:14:03,971 [7] SignLog - Command : 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\20191031-081403830_U80849259_test.vbs\test.vbs"


    • Bearbeitet technowooki Donnerstag, 31. Oktober 2019 08:14
    Donnerstag, 31. Oktober 2019 08:13