当前位置:网站首页>Appx code signing Guide
Appx code signing Guide
2022-07-07 10:14:00 【Wotong wotrus】
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 .
边栏推荐
- 【acwing】789. 数的范围(二分基础)
- 嵌入式背景知识-芯片
- request对象对请求体,请求头参数的解析
- Bit operation ==c language 2
- Performance optimization record of the company's product "yunzhujia"
- Leetcode exercise - 113 Path sum II
- 【学习笔记-李宏毅】GAN(生成对抗网络)全系列(一)
- Use of JSON extractor originals in JMeter
- STM32 Basics - memory mapping
- Finally, there is no need to change a line of code! Shardingsphere native driver comes out
猜你喜欢
喜马拉雅网页版每次暂停后弹窗推荐下载客户端解决办法
ISP、IAP、ICP、JTAG、SWD的编程特点
ORM--分组查询,聚合查询,查询集QuerySet对象特性
ORM模型--关联字段,抽象模型类
Internship log - day04
ORM -- logical relation and & or; Sort operation, update record operation, delete record operation
ORM model -- associated fields, abstract model classes
Delete a record in the table in pl/sql by mistake, and the recovery method
Programming features of ISP, IAP, ICP, JTAG and SWD
Future development blueprint of agriculture and animal husbandry -- vertical agriculture + artificial meat
随机推荐
Phpcms realizes PC website access to wechat native payment
MCU is the most popular science (ten thousand words summary, worth collecting)
Bean operation domain and life cycle
Interface test
Some thoughts on the testing work in the process of R & D
Before joining the chain home, I made a competitive product analysis for myself
Win10 installation vs2015
Basic chapter: take you through notes
ORM模型--关联字段,抽象模型类
STM32产品介绍
Methods of adding centerlines and centerlines in SolidWorks drawings
Finally, there is no need to change a line of code! Shardingsphere native driver comes out
Pytest learning - dayone
视频化全链路智能上云?一文详解什么是阿里云视频云「智能媒体生产」
Postman interface test II
能源路由器入门必读:面向能源互联网的架构和功能
网上可以开炒股账户吗安全吗
Postman interface test VII
Leetcode exercise - 113 Path sum II
[untitled]