Share via

How to sign MSIX AppPackage in Visual Studio 2022

Björn Lundmark 1 Reputation point
2024-09-13T12:35:19.39+00:00

When creating a Winui 3 AppPackage using the Create App Package wizard in Visual Studio 2022, it asks for a Key Vault URI.

I have a Trusted Signing resource in Entera, but I can't find any information about getting a Key Vault URI to this resource in the Azure Control Panel.

Do we need to create an Azure Key Vault as well? How do we then add our Trusted Signing certificate to the vault?

NB The Trusted Signing certificate is working from GitHub Actions.

// Björn

Artifact Signing
Artifact Signing

A fully managed end-to-end service for digitally signing code, documents, and applications. (formerly Trusted Signing)

0 comments No comments

2 answers

Sort by: Most helpful
  1. Rob Caplan 6,127 Reputation points Microsoft Employee Moderator
    2024-09-27T01:10:22.3133333+00:00

    Meha is correct: VS' Create App Package wizard doesn't connect directly to Trusted Signing, but it can create an unsigned package which you can sign later with signtool and Trusted Signing. You'll need to make sure that the package's publisher matches what you use for Trusted Signing.

    Create App Packages wizard

    Set up SignTool to use Trusted Signing

    1 person found this answer helpful.
    0 comments No comments

  2. Meha-MSFT 1,375 Reputation points Microsoft Employee Moderator
    2024-09-25T02:26:03.84+00:00

    @Givary-MSFT are you familiar with how can we tag someone who is familiar with the Create App Package wizard here if there's an alternate to use a certificate that's outside of Key Vault URI?

    @Bjorn - Trusted Signing certificates are stored in mHSMs and not in keyvault.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.