microsoft / WSL-DistroLauncher

Sample/reference launcher app for WSL distro Microsoft Store packages.
MIT License
1.67k stars 517 forks source link

The root certificate of the signature in the app package must be trusted #110

Open mousumih opened 2 years ago

mousumih commented 2 years ago

I am able to create the .appx file, but when I run the Add-AppPackage getting the error: Deployment failed with HRESULT: 0x800B0109, A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider. I created the certificate as in README:

  1. In VS, open DistroLauncher-Appr/Mydistro.appxmanifest
  2. Select the Packaging Tab
  3. Select Choose Certificate
  4. Click the configure certificate drop down and select create test certificate.

How do I ensure that the certificate is trusted?