UWP 代码签名
UWP Code Signing
我想在我的应用程序中使用 System Center Configuration Manager。 This Msdn article 说
Universal Windows Platform line of business apps must be signed with a code-signing certificate that is trusted on each device to which the app is deployed. You can use certificates from an in-house PKI infrastructure, or a certificate from a third-party public root certificate installed on the device.
我的问题是如何获得代码签名证书以及如何签署我的应用程序?
你基本上有两个选择。您可以创建一个测试证书,您必须将其部署到您打算将应用程序部署到的每台计算机上,或者从受信任的来源获取第三方证书。我不想给出第 3 方的名称,但是如果您 Bing 搜索 "Code Signing Certificate",您应该会找到一些选项。
MakeCert.exe是WindowsSDK中的一个应用,可以用来制作测试证书。在每台测试机器上安装它的过程有点费力,但这是一个选择。否则,当您选择第 3 方时,他们会给您一个证书,您无需手动安装。
无论哪种情况,获得证书后,您都需要在 AppX 程序包上使用 SignTool。 SignTool 也是 SDK 的一部分。有关于如何使用它的文档 here。
希望这能解决您的问题。
--但丁[MSFT]
我想在我的应用程序中使用 System Center Configuration Manager。 This Msdn article 说
Universal Windows Platform line of business apps must be signed with a code-signing certificate that is trusted on each device to which the app is deployed. You can use certificates from an in-house PKI infrastructure, or a certificate from a third-party public root certificate installed on the device.
我的问题是如何获得代码签名证书以及如何签署我的应用程序?
你基本上有两个选择。您可以创建一个测试证书,您必须将其部署到您打算将应用程序部署到的每台计算机上,或者从受信任的来源获取第三方证书。我不想给出第 3 方的名称,但是如果您 Bing 搜索 "Code Signing Certificate",您应该会找到一些选项。
MakeCert.exe是WindowsSDK中的一个应用,可以用来制作测试证书。在每台测试机器上安装它的过程有点费力,但这是一个选择。否则,当您选择第 3 方时,他们会给您一个证书,您无需手动安装。
无论哪种情况,获得证书后,您都需要在 AppX 程序包上使用 SignTool。 SignTool 也是 SDK 的一部分。有关于如何使用它的文档 here。
希望这能解决您的问题。
--但丁[MSFT]