使用证书签署 ClickOnce?

发布于 2024-07-25 02:56:48 字数 927 浏览 4 评论 0原文

获取证书来签署我的 ClickOnce 程序集的过程是什么?

我的公司有一些 ClickOnce 应用程序,但它们都是使用 Visual Studio 创建的临时证书进行签名的。 这些显然不是受信任的根权威机构也不是受信任的发布者。 我已按照文章配置 ClickOnce 受信任的发布者< /em>,我喜欢使用既是受信任的根颁发机构又是受信任的发布者的证书进行签名的体验(即,没有提示,只需安装)。

  1. 我可以使用同一个证书来签署多个 ClickOnce 程序集吗?
  2. 证书的费用是多少?
  3. 获取证书时需要提供哪些信息?
  4. 证书是否需要知道发布位置在哪里? 例如,如果我当前可以从 http://apps.mycompany.com/ 获取 ClickOnce 应用程序,并且我想稍后更改此设置,例如 http://www.mycompany。 com/appshttp://apps.mysubcompany.com,我是否需要获取另一个证书?
  5. 是否有推荐的发布者可供获取 ClickOnce 签名(例如,可能已在 Windows XP、Windows Vista 或 Windows 7 受信任的根权限存储中的发布者)?
  6. 如何简化 Trusted Publisher 商店的安装?

What is the process of obtaining a certificate to sign my ClickOnce assembly(ies)?

I've got a few ClickOnce applications at my company, but they are all signed with temporary certificates created by Visual Studio. Those are obviously not Trusted Root Authorities nor Trusted Publishers. I've followed along the article Configuring ClickOnce Trusted Publishers, and I like the experience when something is signed with a certificate that is both a Trusted Root Authority and Trusted Publisher (that is, no prompt, just an install).

  1. Can I use the same certificate to sign multiple ClickOnce assemblies?
  2. How much does a certificate cost?
  3. What information do I need to provide when obtaining the certificate?
  4. Does the certificate need to be aware of where the publishing location is? For example, if I currently have my ClickOnce applications available from http://apps.mycompany.com/ and I want to change this later, for example http://www.mycompany.com/apps or http://apps.mysubcompany.com, will I have to obtain another certificate?
  5. Are there recommended publishers to obtain from for ClickOnce signing (for example, someone who might already be in an Windows XP, Windows Vista, or Windows 7 Trusted Root Authority store)?
  6. How can I streamline installation to the Trusted Publisher store?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

泪痕残 2024-08-01 02:56:48

我最近必须完成签名的 ClickOnce。 这不是最流畅的体验,但一旦完成(并连接到自动发布),它就开始像奇迹一样工作。 如果您对此行为感兴趣,这里是实际产品:Excel 预测插件

有关 ClickOnce 清单签名和强名称程序集签名的文章是一个好的开始。

我可以使用同一个证书来签署多个 ClickOnce 程序集吗?

是的。

证书的费用是多少?

Tucows 提供 75 美元的证书,但流程是相当慢。

获取证书时需要提供哪些信息?

他们会检查您的文件(例如您的公司注册证书的扫描件),检查您的 whois 记录等。

证书是否需要知道发布位置在哪里?

在我们的例子中不需要这样做。

I had to work through the signed ClickOnce recently. It was not the most smooth experience, but once this has been done (and wired to the automated publishing) it started working like a marvel. Here's the actual product, if you are interested in the behavior: Forecasting Add-in for Excel.

Article on ClickOnce Manifest Signing and Strong-Name Assembly Signing was a good start.

Can I use the same certificate to sign multiple ClickOnce assemblies?

Yes.

How much does a certificate cost?

Tucows offers certificates for 75$, but the process is rather slow.

What information do I need to provide when obtaining the certificate?

They check your documents (e.g. a scan of your certificate of incorporation), check your whois record and things like this.

Does the certificate need to be aware of where the publishing location is?

This was not needed in our case.

忆离笙 2024-08-01 02:56:48

我有一个来自 Thawte 的代码签名证书,并且它运行得很好(一旦我得到了已弄清楚签名程序...)

  • 每年费用为 299 美元(Microsoft Authenticode(多用途)证书)

  • Thawte 已经是 Windows 中受信任的根目录,因此对于客户端来说它可以正常工作。 (不过,我必须在签名计算机上安装额外的根证书。)

欢迎您在 http://www.ludesi.com/download 上查看我们的应用程序。

I have a code signing certificate from Thawte, and it has worked very well (once I got the signing procedure figured out...)

  • It costs US$299 per year (Microsoft Authenticode (Multi-Purpose) Certificate)

  • Thawte is already a trusted root in Windows so for clients it works fine. (I had to install extra root certificates on the signing machine, though.)

You are welcome to check out our app at http://www.ludesi.com/download.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文