Results 1 to 5 of 5

Thread: Code sign fails GEN1053 and Error code 21

Hybrid View

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

    Default Code sign fails GEN1053 and Error code 21

    Hi all,

    My client is getting an error when code signing one exe:

    "Compiler error GEN1053: Code signing process failed. Error Code 21"

    Anyone know what this refers to?

    Best regards

    --
    Arnor Baldvinsson
    Icetips Alta LLC

  2. #2

    Default Re: Code sign fails GEN1053 and Error code 21

    > My client is getting an error when code signing one exe:
    >
    > "Compiler error GEN1053: Code signing process failed. Error Code 21"
    >
    > Anyone know what this refers to?

    Hi Arnor,

    Has the code signing certificate expired perhaps?

    Charles



    --
    -------------------------------------------------------------------------------------------------------
    Charles Edmonds

    cjeByteMeSpammers@lansrad.com (remove the "ByteMeSpammers" to email me)

    www.learnh5fast.com - Master building web and mobile apps with Clarion H5!
    www.clarionproseries.com - ProDocument, ImageEx, ProScan, ProImage, ProPath
    and other Clarion developer tools!
    www.seal-soft.com - The xProduct Clarion templates - xWordCOM, xToolTip,
    xDataBackup Manager and more!
    www.ezchangelog.com - "Free ChangeLog software to manage your projects!"
    www.setupcast.com - "A revolutionary new publishing system for software
    developers - enhanced for SetupBuilder users!"
    www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
    and Forms - Now with PNG support!
    www.fotokiss.com - "World's Best Auction Photo Editor"
    www.lansrad.com - "Intelligent Solutions for Universal Problems"
    -------------------------------------------------------------------------------------------------------

  3. #3

    Default Re: Code sign fails GEN1053 and Error code 21

    Hi Arnor,

    > "Compiler error GEN1053: Code signing process failed. Error Code 21"

    Microsoft code-signing only returns "success" or "failure". So I think he
    is using a wildcard in his code-signing process and all signing attempts
    failed.

    It failed because:

    1. Code-Signing Certificate expired
    2. Password incorrect
    3. Timestamp server not accessible
    4. SignTool component "unregistered" - see CapiCom here:
    http://www.lindersoft.com/forums/sho...5074-and-later
    5. The protection software blocks SignTool or the code-signing process.

    Friedrich

  4. #4

    Default Re: Code sign fails GEN1053 and Error code 21

    Hi Friedrich,

    > 1. Code-Signing Certificate expired
    > 2. Password incorrect
    > 3. Timestamp server not accessible
    > 4. SignTool component "unregistered" - see CapiCom here:
    > http://www.lindersoft.com/forums/sho...5074-and-later
    > 5. The protection software blocks SignTool or the code-signing process.
    This particular exe is a single exe install. There are several more SB
    scripts that have multiple EXE and multiple dlls and all of those work
    fine and are code signed correctly. He's using the global settings for
    code signing and only SHA2. He has a new certificate (January) but it
    has been used couple of times and it also failed on this one exe as
    well. He's going to try to disable his AV and see if that helps.

    Best regards,


    --
    Arnor Baldvinsson
    Icetips Alta LLC

  5. #5

    Default Re: Code sign fails GEN1053 and Error code 21

    Hi Friedrich,

    > code signing and only SHA2. He has a new certificate (January) but it
    > has been used couple of times and it also failed on this one exe as

    Translation:<g> The certificate has been used in 2 previous builds of
    all our software and it worked fine in both cases except on this one
    exe. He's going to test turning the AV off while code signing see if
    that helps.

    Best regards,

    --
    Arnor Baldvinsson
    Icetips Alta LLC

Thread Information

Users Browsing this Thread

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

Posting Permissions

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