当前位置:网站首页>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 .
边栏推荐
- Node. Js: express + MySQL realizes registration, login and identity authentication
- Example of shutter text component
- String长度限制?
- Tencent architects first, 2022 Android interview written examination summary
- Social recruitment interview experience, 2022 latest Android high-frequency selected interview questions sharing
- Cesium 点击绘制圆形(动态绘制圆形)
- 腾讯架构师首发,2022Android面试笔试总结
- After solving 2961 user feedback, I made such a change
- 某东短信登录复活 安装部署教程
- Recursive implementation of department tree
猜你喜欢
《数字经济全景白皮书》保险数字化篇 重磅发布
[network planning] Chapter 3 data link layer (4) LAN, Ethernet, WLAN, VLAN
Classic 100 questions of algorithm interview, the latest career planning of Android programmers
The "white paper on the panorama of the digital economy" has been released with great emphasis on the digitalization of insurance
[infrastructure] deployment and configuration of Flink / Flink CDC (MySQL / es)
Transformer model (pytorch code explanation)
Tencent T3 teaches you hand in hand. It's really delicious
【计网】第三章 数据链路层(4)局域网、以太网、无线局域网、VLAN
Oceanbase Community Edition OBD mode deployment mode stand-alone installation
Example of applying fonts to flutter
随机推荐
[cloud native and 5g] micro services support 5g core network
Method keywords deprecated, externalprocname, final, forcegenerate
In simple terms, interview surprise Edition
Tips for web development: skillfully use ThreadLocal to avoid layer by layer value transmission
范式的数据库具体解释
Analysis of rainwater connection
mod_wsgi + pymssql通路SQL Server座
350. Intersection of two arrays II
Groovy基础语法整理
Cesium Click to draw a circle (dynamically draw a circle)
Enumeration gets values based on parameters
Cf960g - bandit Blues (type I Stirling number +ogf)
【GET-4】
mod_ WSGI + pymssql path SQL server seat
OceanBase社区版之OBD方式部署方式单机安装
Standardized QCI characteristics
Database specific interpretation of paradigm
1805. Number of different integers in the string
PowerPivot - DAX (first time)
Li Kou 101: symmetric binary tree