当前位置:网站首页>Appx code signing Guide
Appx code signing Guide
2022-07-07 03:18:00 【lavin1614】
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 , Please see use MakeAppx.exe Tools to create application packages [1].
Valid signing certificate
Apply for a valid code signing certificate , Please check the watcom code signature certificate [2].
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 , Go to the official website of wotong to apply for using a valid code signing certificate pair Appx After the application package is signed , You can upload your app package to Microsoft app store .
Reference resources
- ^MakeAppx.exe Tools to create application packages Use MakeAppx.exe Tools to create application packages - MSIX | Microsoft Docs
- ^ Code signing certificate Code signing certificate price list ,EV Code signing certificate price , Unit code signature certificate price , How much is the personal code signature certificate? Price quotation - Price list of wotong code signing certificate !
边栏推荐
- HDU ACM 4578 Transformation-> Segment tree - interval change
- 商城商品的知识图谱构建
- Construction of knowledge map of mall commodities
- [cpk-ra6m4 development board environment construction based on RT thread studio]
- QT Bluetooth: qbluetooth DeviceInfo
- Jerry's question about DAC output power [chapter]
- How to find file accessed / created just feed minutes ago
- cocos3——8.实现初学者指南
- 凌云出海记 | 易点天下&华为云:推动中国电商企业品牌全球化
- [untitled]
猜你喜欢

Household appliance industry under the "retail is king": what is the industry consensus?
![Jericho turns on the display icon of the classic Bluetooth hid mobile phone to set the keyboard [chapter]](/img/f4/8464bf9b66a1215265ac873f286688.png)
Jericho turns on the display icon of the classic Bluetooth hid mobile phone to set the keyboard [chapter]

Laravel php artisan 自动生成Model+Migrate+Controller 命令大全

Starting from 1.5, build a micro Service Framework -- log tracking traceid

Le tube MOS réalise le circuit de commutation automatique de l'alimentation principale et de l'alimentation auxiliaire, et la chute de tension "zéro", courant statique 20ua
![Jericho is in non Bluetooth mode. Do not jump back to Bluetooth mode when connecting the mobile phone [chapter]](/img/ce/baa4acb1b4bfc19ccf8982e1e320b2.png)
Jericho is in non Bluetooth mode. Do not jump back to Bluetooth mode when connecting the mobile phone [chapter]

input_ delay

centerX: 用中国特色社会主义的方式打开centernet

密码学系列之:在线证书状态协议OCSP详解

Variables, process control and cursors (MySQL)
随机推荐
Uniapp adaptation problem
input_ delay
Kubernetes source code analysis (II) -- resource
“零售为王”下的家电产业:什么是行业共识?
源代码保密的意义和措施
Cglib agent in agent mode
HDU 4337 King Arthur's Knights 它输出一个哈密顿电路
杰理之开 BLE 退出蓝牙模式卡机问题【篇】
存储过程与函数(MySQL)
The whole process of knowledge map construction
c语言字符串排序
2022年信息安全工程师考试大纲
Flink task exit process and failover mechanism
Starting from 1.5, build a micro Service Framework -- log tracking traceid
迷失在MySQL的锁世界
Cocos2d-x Box2D物理引擎编译设置
【Swift】学习笔记(一)——熟知 基础数据类型,编码风格,元组,主张
商城商品的知识图谱构建
首届“量子计算+金融科技应用”研讨会在京成功举办
Le tube MOS réalise le circuit de commutation automatique de l'alimentation principale et de l'alimentation auxiliaire, et la chute de tension "zéro", courant statique 20ua