当前位置:网站首页>Appx代碼簽名指南
Appx代碼簽名指南
2022-07-07 10:13:00 【沃通WoTrus】
一、APPX是什麼文件格式?
appx實際上就是安裝文件壓縮包,將我們平時常見的一些安裝文件打包起來,其中包含DLL文件庫、CAT數字簽名文件、多個XML文件信息文件等,是一個准備好分配和安裝的應用程序包。
appxs首次在Windows 8中引入,為了保護系統的安全,Windows 10系統使用Windows UWP平臺認證機制管理.Appx應用的運行。所有從Windows應用商店下載的.Appx應用均可直接順利運行,而對於尚未取得該認證的來曆不明的.Appx應用,安裝時會出現“安裝失敗”的提示。上傳至微軟應用商店前,需要使用有效的代碼簽名證書對Appx文件進行數字簽名。
二、如何進行appx數字簽名?
1、簽名准備
應用包
若要了解手動創建應用包的詳細信息,請參閱使用 MakeAppx.exe 工具創建應用包。
有效的簽名證書
申請有效的代碼簽名證書,請查看沃通代碼簽名證書。
簽名工具
下載安裝SignTool簽名工具
2、數字簽名
舉例:
查看我的證書使用者信息如下:

Xml的publisher寫法如下:
簽名:
Cmd進入makeappx.exe目錄
第一步:makeappx.exe pack /v /h SHA256 /d C:\Users\***\Desktop\appx /p 123.appx(/d後面是xml的目錄,/p 後面是appx的目錄,沒寫的就會在makeappx.exe的目錄)
第二步:signtool sign /v /a /sha1 證書指紋值 /fd sha256 123.appx
3、要點總結
第一步/h sha256指定的算法和第二步/fd sha256要一致;注意xml的寫法,不然會報錯。
注意:如果公司名稱中帶有,時,Publisher裏面需要用";將公司名稱引用起來,舉例CN=WoTrus CACo., Ltd.,則在Publisher裏面要變成CN=";WoTrus CACo., Ltd.";
按上述步驟,到沃通官網申請使用有效的代碼簽名證書對Appx應用包進行簽名後,即可將你的應用包上傳至微軟應用商店。
边栏推荐
- uboot机构简介
- Guid主键
- Delete a record in the table in pl/sql by mistake, and the recovery method
- web3.0系列之分布式存储IPFS
- Official media attention! The list of top 100 domestic digital collection platforms was released, and the industry accelerated the healthy development of compliance
- Write it into the SR table in the way of flinksql. It is found that the data to be deleted has not been deleted. Refer to the document https://do
- Wallys/IPQ6010 (IPQ6018 FAMILY) EMBEDDED BOARD WITH ON-BOARD WIFI DUAL BAND DUAL CONCURRENT
- 柏拉图和他的三个弟子的故事:如何寻找幸福?如何寻找理想伴侣?
- Download Text, pictures and ab packages used by unitywebrequest Foundation
- 大整数类实现阶乘
猜你喜欢

Postman interface test I

AI moves from perception to intelligent cognition

Internship log - day07

The new activity of "the arrival of twelve constellations and goddesses" was launched

ORM--查询类型,关联查询

ORM--数据库增删改查操作逻辑

Pytest learning - dayone

Chris LATTNER, the father of llvm: why should we rebuild AI infrastructure software

Enterprise practice | construction of banking operation and maintenance index system under complex business relations

Postman interface test VII
随机推荐
CDZSC_ 2022 winter vacation personal training match level 21 (2)
Programming features of ISP, IAP, ICP, JTAG and SWD
The combination of over clause and aggregate function in SQL Server
STM32基础知识—内存映射
XML配置文件解析与建模
Download Text, pictures and ab packages used by unitywebrequest Foundation
能源路由器入门必读:面向能源互联网的架构和功能
conda离线创建虚拟环境
Check the example of where the initialization is when C initializes the program
ES6中的函数进阶学习
Integer inversion
Bit operation ==c language 2
[untitled]
Finally, there is no need to change a line of code! Shardingsphere native driver comes out
网上可以开炒股账户吗安全吗
UnityWebRequest基础使用之下载文本、图片、AB包
学习记录——高精度加法和乘法
MCU与MPU的区别
Weekly recommended short videos: what are the functions of L2 that we often use in daily life?
中国首款电音音频类“山野电音”数藏发售来了!