+ Reply to Thread
Results 1 to 5 of 5

Thread: Compilation Error on code signing.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Compilation Error on code signing.

    All of a sudden I'm getting Error 2 on the code-signing step in SetupBuilder 10.

    I renewed the code-signing certificate some months ago, and it has been working fine since then, but now, suddenly, it doesn't. I have the path to signtool.exe set, and for the time stamp I'm using

    http://timestamp.comodoca.com/authenticode

    What does 'Error 2' mean?

    David Webber

  2. #2

    Exclamation Re: Compilation Error on code signing.

    Quote Originally Posted by David Webber View Post
    All of a sudden I'm getting Error 2 on the code-signing step in SetupBuilder 10. ...
    http://timestamp.comodoca.com/authenticode...
    Got it. Thinking further, I realised I hadn't made any changes, so it must be something external, and the time stamp was my immediate suspect.

    I've been using the SetupBuilder 10 drop-down option
    http://timestamp.comodoca.com/authenticode

    and (having seen a recommendation to use comcoda in a previous thread) I'd tried the alternative
    http://timestamp.comodoca.com/rfc3161

    but without success. However I now find that switching to
    http://timestamp.digicert.com

    works!

    Wish I knew what was causing the problem!

    Dave

  3. #3
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Compilation Error on code signing.

    It's very well possible that the timestamp server was/is down or the protection server blocked access to it.

    SignCode Error 2 is caused by an incorrect password, expired certificate or inaccessible timestamp server.

    Friedrich

  4. #4

    Default Re: Compilation Error on code signing.

    The signtool would only sign one or two files at most last Friday when I tried to build with http://timestamp.comodoca.com.
    I kept doing the build until finally everything got signed.
    I will try the timestamp.digicert.com server next time.
    -Rich F.

  5. #5
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Compilation Error on code signing.

    Rich,

    happens from time to time and in mostly it is caused by a (buggy) virus-definition update -or- the timestamp server itself (overload). What I always do in this case is to switch to another timestamp server.

    Unfortunately, signcode only returns three values: 0 = success and 1 or 2 = failure.

    In the next SetupBuilder 2023 build we have added a function to retrieve the human readable error text from system memory and display it in the compiler window.

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •