YehudaKremer / msix

Create Msix installer for flutter windows-build files.
https://pub.dev/packages/msix
MIT License
279 stars 69 forks source link

certificate could not be verified during msix installation #245

Closed xenSlayer closed 10 months ago

xenSlayer commented 11 months ago
This app package’s publisher certificate could not be verified. 
Contact your system administrator or the app developer to obtain a new app package with verified certificates. 
The root certificate and all immediate certificates of the signature in the app package must be verified (0x800B010A)

msix_config:

msix_config:
  display_name: appname
  publisher_display_name: sweet apps
  identity_name: xxxxxxxx (given valid identity name obtained from ms dev account)
  publisher: xxxxxxxxxx (given valid publisher obtained from ms dev account)
  store: true
  enable_at_startup: true
  capabilities: internetClient, musicLibrary
  certificate_path: C:\Users\xxx\Desktop\xxx\resources\win_certificates\certificate.pfx
  certificate_password: xxxxxxxxxxxxxxxx

certificate generated using openssl

Vera-Spoettl commented 10 months ago

@xenSlayer I have the same problem currently. How did you solve it?

xenSlayer commented 10 months ago

@Vera-Spoettl so in my case, I was trying to sign the msix myself using openssl (which is not required) as microsoft store will sign the msix when you submit it. And the reason it showed that error was because I had to manually install the certificate that I used to sign the msix. ie. in my above code i install the C:\Users\xxx\Desktop\xxx\resources\win_certificates\certificate.pfx and it worked.