当前位置:网站首页>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 !
边栏推荐
猜你喜欢
Oauth2协议中如何对accessToken进行校验
树莓派设置wifi自动连接
leetcode
Household appliance industry under the "retail is king": what is the industry consensus?
Leetcode-02 (linked list question)
Lavel PHP artisan automatically generates a complete set of model+migrate+controller commands
你知道电子招标最突出的5大好处有哪些吗?
Shangsilicon Valley JVM Chapter 1 class loading subsystem
How-PIL-to-Tensor
uniapp适配问题
随机推荐
Unity uses maskablegraphic to draw a line with an arrow
Significance and measures of source code confidentiality
CVPR 2022 最佳论文候选 | PIP: 6个惯性传感器实现全身动捕和受力估计
Install torch 0.4.1
New benchmark! Intelligent social governance
[colmap] 3D reconstruction with known camera pose
HDU ACM 4578 Transformation-> Segment tree - interval change
迷失在MySQL的锁世界
Decoration design enterprise website management system source code (including mobile source code)
centerX: 用中国特色社会主义的方式打开centernet
oracle连接池长时间不使用连接失效问题
unrecognized selector sent to instance 0x10b34e810
QT Bluetooth: qbluetooth DeviceInfo
Matlab Error (Matrix dimensions must agree)
input_ delay
mos管實現主副電源自動切換電路,並且“零”壓降,靜態電流20uA
应用程序启动速度的优化
Change your posture to do operation and maintenance! GOPs 2022 Shenzhen station highlights first!
2022 spring recruitment begins, and a collection of 10000 word interview questions will help you
杰理之开启经典蓝牙 HID 手机的显示图标为键盘设置【篇】