当前位置:网站首页>Appx code signing Guide
Appx code signing Guide
2022-07-06 20:06:00 【Hua Weiyun】
One 、APPX What is the file format ?
appx In fact, it is to install the file compression package , Package some common installation files , It includes DLL library 、CAT Digitally signed files 、 Multiple XML Documents, information documents, etc , Is an application package ready for distribution and installation .
appxs First time in Windows 8 Introduction in , To protect the safety of the system ,Windows 10 System use Windows UWP Platform authentication mechanism management .Appx Application running . All from Windows Downloaded from the app store .Appx Applications can run smoothly directly , For those who have not obtained the certification, the origin is unknown .Appx application , During installation, there will be “ Installation failed ” A hint of . Before uploading to Microsoft app store , You need to use a valid code signing certificate pair Appx The document is digitally signed .
Two 、 How to do appx digital signature ?
1、 Signature preparation
App package
To learn more about manually creating application packages , see also Use MakeAppx.exe Tools to create application packages .
Valid signing certificate
Apply for a valid code signing certificate , Please check the watcom code signature certificate .
Signature tool
Download and install SignTool Signature tool
2、 digital signature
give an example :
View my certificate subject information as follows :

Xml Of publisher It is written as follows :

Signature :
Cmd Get into makeappx.exe Catalog
First step :makeappx.exe pack /v /h SHA256 /d C:\Users\***\Desktop\appx /p 123.appx(/d And then xml The catalog of ,/p And then appx The catalog of , What is not written will be makeappx.exe The catalog of )
The second step :signtool sign /v /a /sha1 Certificate fingerprint value /fd sha256 123.appx
3、 Summary of key points
First step /h sha256 Specified algorithm and step 2 /fd sha256 Should agree ; Be careful xml Writing , Otherwise, it will report a mistake .
Be careful : If the company name contains , when ,Publisher It needs to use "; Quote the company name , give an example CN=WoTrus CACo., Ltd., It's in Publisher It's going to become CN=";WoTrus CACo., Ltd.";
Follow the above steps , Apply to the official website of wotong for effective Code signing certificate Yes Appx After the application package is signed , You can upload your app package to Microsoft app store .
边栏推荐
猜你喜欢

beegfs高可用模式探讨

PowerPivot - DAX (first time)

5. 無線體內納米網:十大“可行嗎?”問題

5. Wireless in vivo nano network: top ten "feasible?" problem
![[cloud native and 5g] micro services support 5g core network](/img/c9/4ccacd1e70285c2ceb50c324e5018c.png)
[cloud native and 5g] micro services support 5g core network

Standardized QCI characteristics
Tencent T2 Daniel explained in person and doubled his job hopping salary

After solving 2961 user feedback, I made such a change

语音识别(ASR)论文优选:全球最大的中英混合开源数据TALCS: An Open-Source Mandarin-English Code-Switching Corpus and a Speech
Tencent architects first, 2022 Android interview written examination summary
随机推荐
Tencent T3 teaches you hand in hand. It's really delicious
深度学习分类网络 -- ZFNet
[infrastructure] deployment and configuration of Flink / Flink CDC (MySQL / es)
深入浅出,面试突击版
Social recruitment interview experience, 2022 latest Android high-frequency selected interview questions sharing
mod_ WSGI + pymssql path SQL server seat
22-07-05 七牛云存储图片、用户头像上传
【计网】第三章 数据链路层(3)信道划分介质访问控制
Tencent architects first, 2022 Android interview written examination summary
【GET-4】
数字三角形模型 AcWing 1018. 最低通行费
New generation garbage collector ZGC
In simple terms, interview surprise Edition
Li Kou 101: symmetric binary tree
Oceanbase Community Edition OBD mode deployment mode stand-alone installation
小微企业难做账?智能代账小工具快用起来
Cesium 点击绘制圆形(动态绘制圆形)
Standardized QCI characteristics
AddressSanitizer 技术初体验
范式的数据库具体解释