当前位置:网站首页>Appx代码签名指南
Appx代码签名指南
2022-07-07 07:49: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应用包进行签名后,即可将你的应用包上传至微软应用商店。
边栏推荐
- STM32 Basics - memory mapping
- Methods of adding centerlines and centerlines in SolidWorks drawings
- Postman interface test I
- Introduction to automated testing framework
- Postman tutorial - scripting
- Phpcms realizes PC website access to wechat native payment
- 嵌入式背景知识-芯片
- Performance optimization record of the company's product "yunzhujia"
- LLVM之父Chris Lattner:为什么我们要重建AI基础设施软件
- 运用tensorflow中的keras搭建卷积神经网络
猜你喜欢
The landing practice of ByteDance kitex in SEMA e-commerce scene
Leetcode exercise - 113 Path sum II
【学习笔记-李宏毅】GAN(生成对抗网络)全系列(一)
ORM模型--数据记录的创建操作,查询操作
STM32中AHB总线_APB2总线_APB1总线这些是什么
The Himalaya web version will pop up after each pause. It is recommended to download the client solution
AI moves from perception to intelligent cognition
Programming features of ISP, IAP, ICP, JTAG and SWD
字节跳动 Kitex 在森马电商场景的落地实践
The applet realizes multi-level page switching back and forth, and supports sliding and clicking operations
随机推荐
每周推荐短视频:L2级有哪些我们日常中经常会用到的功能?
Garbage disposal method based on the separation of smart city and storage and living digital home mode
一文讲解单片机、ARM、MUC、DSP、FPGA、嵌入式错综复杂的关系
ArcGIS operation: batch modify attribute table
C socke server, client, UDP
Postman interface test V
Video based full link Intelligent Cloud? This article explains in detail what Alibaba cloud video cloud "intelligent media production" is
Integer inversion
字节跳动 Kitex 在森马电商场景的落地实践
STM32基础知识—内存映射
Official media attention! The list of top 100 domestic digital collection platforms was released, and the industry accelerated the healthy development of compliance
Embedded background - chip
Horizontal split of database
The physical meaning of imaginary number J
Memory ==c language 1
The combination of over clause and aggregate function in SQL Server
Introduction to energy Router: Architecture and functions for energy Internet
Introduction to automated testing framework
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
Pit encountered by vs2015 under win7 (successful)