如何为Windows App Store产品创建签名证书 [英] How do you create a signing certificate for a Windows App Store product

查看:120
本文介绍了如何为Windows App Store产品创建签名证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎有大量关于如何创建自签名证书的信息以及如何打败安装应用程序包的正常检查,但我几乎找不到如何创建合法的代码签名证书请求,
从权威机构获取证书(我正在使用GoDaddy),然后使用它来打包Windows应用商店应用程序。到目前为止,我使用IIS创建证书请求,使用我的组织名称作为通用名称(CN = MyCompany.com)。当我尝试使用pfx文件创建
a证书时,我收到消息:

There appears to be a ton of information about how to create a self-signed certificate and ways to defeat the normal checks that going into installing an App Package, but I can find very little about how to create a legitimate code signing certificate request, get the certificate back from an authority (I'm using GoDaddy) and then use it to package a Windows Store App. So far, I used IIS to create the certificate request using the name of my organization as the common name (CN=MyCompany.com). When I attempt to create a certificate using the pfx file, I get the message:

应用清单中Identity元素的Publisher属性必须具有以下值:您的开发者帐户中的发布商ID值

我不知道我的帐户的"发布商ID"在哪里或者如何匹配。 任何信息都会受到欢迎,也可以链接到一些演示如何完成此操作。

I've got no idea where the 'Publisher ID' for my account is or how to make them match.  Any info would be welcome as well as a link to some walk-through that shows how this is done.

推荐答案

你好,

>我不知道我的帐户的"发布商ID"在哪里,或者如何使它们匹配。

>I've got no idea where the 'Publisher ID' for my account is or how to make them match.

如果您要将商品包发布到商店,则需要保持所有身份信息匹配,以便将其上传到信息中心。

If you're going to publish your package to the Store, then you will need to keep all the identity info match so that you can upload them to Dashboard.

您的包清单中的发布者需要与开发人员中心的发布商ID值相匹配:

The Publisher in your package manifest need to match the value of Publisher ID from Dev Center:

如果您需要发布应用,上述所有识别信息需要相互匹配。您可以点击商店>与商店关联,使其自动匹配。

All of the identify info above needs to match each other if you need to publish your app. You can click Store>associate with the Store to make them match each other automatically.

如果您的目的不是发布您的应用,那么您的清单中的发布商不需要匹配您的开发者帐户中的值。要使用证书对您的应用包进行签名,请使用"主题"在证书中,
必须与"发布商"匹配应用清单中的部分。

If your purpose is not to publish your app, then the publisher in your manifest doesn't need to match the value from your developer account. To use a certificate to sign your app package, the "Subject" in the certificate must match the "Publisher" section in your app's manifest.

有关详细信息,您可以按照 创建包签名证书

For more details, you can follow Create a certificate for package signing.

祝你好运,

Mattew Wu

Mattew Wu


这篇关于如何为Windows App Store产品创建签名证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆