简体   繁体   中英

How to certificate an UWP .appxbundle?

I'm creating a UWP app. I'm packaging it in the VS, and I get the.appxbundle. When I install the app using the.appxbundle, I don't receive any issue (probably because I've trust with my own certificate). But when I pass to another person the.appxbundle, the others cannot install it.
I've tried using the signtool.exe. I used this template: SignTool sign /fd hashAlgorithm /a /f "C:\signingCert.pfx" "C:\filepath.appx" . I've received the "correct message", the app is trusted. But now, when I open the.appxbundle, I receive the issue that this app is not trusted. And it's the only.appxbundle that is trusted, because the others versions of the same app that I don't trust are "trusted" for Windows.
Any help for this?
Thanks!

SignTool is a command line tool used to digitally sign an app package or bundle with a certificate. The certificate can either be created by the user (for testing purposes) or issued by a company (for distribution).

SignTool can't make the app with full trust permission that could install without certificate. You could regard SignTool as matching box that binding specific the certificate with appx package. And it's necessary to install the certificate before install appx package.

If you do want to install appx without certificate, we suggest you publish your app to Microsoft App Store.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM