当前位置:网站首页>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應用包進行簽名後,即可將你的應用包上傳至微軟應用商店。
边栏推荐
- 基于gis三维可视化技术的智慧城市建设
- Es classes and objects, prototypes
- Postman interface test V
- Google colab loads Google drive (Google drive is used in Google colab)
- How to cancel automatic saving of changes in sqlyog database
- Use of JSON extractor originals in JMeter
- Bean operation domain and life cycle
- Advanced function learning in ES6
- 中国首款电音音频类“山野电音”数藏发售来了!
- uboot机构简介
猜你喜欢

Postman interface test IV

字节跳动 Kitex 在森马电商场景的落地实践

Methods of adding centerlines and centerlines in SolidWorks drawings

Programming features of ISP, IAP, ICP, JTAG and SWD

Official media attention! The list of top 100 domestic digital collection platforms was released, and the industry accelerated the healthy development of compliance

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

Embedded background - chip

喜马拉雅网页版每次暂停后弹窗推荐下载客户端解决办法

Postman interface test I

The Himalaya web version will pop up after each pause. It is recommended to download the client solution
随机推荐
反卷积通俗详细解析与nn.ConvTranspose2d重要参数解释
Bean 作⽤域和⽣命周期
Embedded background - chip
柏拉图和他的三个弟子的故事:如何寻找幸福?如何寻找理想伴侣?
Mongodb creates an implicit database as an exercise
CDZSC_ 2022 winter vacation personal training match level 21 (1)
Finally, there is no need to change a line of code! Shardingsphere native driver comes out
Official media attention! The list of top 100 domestic digital collection platforms was released, and the industry accelerated the healthy development of compliance
The applet realizes multi-level page switching back and forth, and supports sliding and clicking operations
[original] what is the core of programmer team management?
Three years after graduation
In addition to the objective reasons for overtime, what else is worth thinking about?
Before joining the chain home, I made a competitive product analysis for myself
Guys, how can mysql-cdc convert the upsert message to append only
Bit operation ==c language 2
Horizontal split of database
Internship log - day07
Arcgis操作: 批量修改属性表
Methods of adding centerlines and centerlines in SolidWorks drawings
Writing file types generated by C language