Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Trouble signing .app

Posted on by 479

I have followed the steps in this documentation for signing my .app file
Signing an APP Package File - Business Central | Microsoft Docs

I get stuck on this error when running the sign tool with my .app and .pfx certificate
SignTool Error: This file format cannot be signed because it is not recognized.

I have removed all spaces within the .app file name.

How do I fix this error?

Also, is signing an app really required for App Source deployment?

Categories:
  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: Trouble signing .app

    Hi jdrco

    That is exactly what i am talking about.

    If you develop using Docker containers you can use that command to also sign the app in the Docker container using BCContainerhelper.

    Then you do not need to install BC on the local machine were you want to sign the app.

  • jdrco Profile Picture
    jdrco 479 on at
    RE: Trouble signing .app

    When you mentioned using a Docker container, did you mean using the Sign-BcContainerApp?

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 70,124 Super User 2024 Season 2 on at
    RE: Trouble signing .app

    Hi, for quesiton 1, I have answered something similar in the question below.

    (+) Sign-BcContainerApp not signing .app properly - Dynamics 365 Business Central Forum Community Forum

    For question 2, Yes. The .app file must be digitally signed.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-checklist-submission#technical-validation-checklist

    pastedimage1658971629098v1.png

    Hope this helps.
    Thanks.
    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,744 Moderator on at
    RE: Trouble signing .app

    Hi,

    Signing is mandatory for the apps on app source.

    From the error you are getting it looks like you do not have Business Central installed on the computer you are using for signing.

    You need to have BC installed on the computer you use for signing or use a Docker container to sign your app.

    Hope this helps you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,564 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,651 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans