如何签署ClickOnce应用程序 [英] How to sign a ClickOnce application

查看:264
本文介绍了如何签署ClickOnce应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有我专为客户端的的ClickOnce 应用程序,我需要它是来自受信任的发布者。我该如何去获取一个 Authenti code 证书,并与之签下我的应用程序?所以,当应用程序启动,它是从受信任的发布者?

I have a ClickOnce application that I built for a client, and I need it to be from a trusted publisher. How do I go about acquiring an Authenticode certificate and sign my application with it? So that when the application is launched, it's from a trusted publisher?

我如何安装证书?我一定要我的开发服务器上安装它,或者它的问题在哪里安装?

How do I install the certificate? Do I have to install it on my development server or does it matter where I install it?

如何在整个过程中的工作?我不想花3-5百元的证书,并安装一些错误的,是出于运气。

How does the whole process work? I don't want to spend 3-5 hundred dollars on a certificate, and install something wrong and be out of luck.

有没有对购买和安装证书并签署ClickOnce应用程序很好的教程?

Are there good tutorials on purchasing and installing a certificate and signing a ClickOnce application?

推荐答案

最近,我通过这个过程去。证书是不贵 - 我们从 http://startssl.com 一个code-签名证书 - 这是$ 100家左右总(和你通配符域证书为您的网站以及)。

I recently went through this process. A certificate is not that expensive - we got a code-signing certificate from http://startssl.com - and it was $100 or so in total (and you get wild-card domain certificate for your website as well).

在你的证书,请按照常见问题解答 HOWTO:code签订如何做 *签上你的code(二进制文件)。

After you have the certificate, follow the FAQ HOWTO: Code signing how-to* to sign your code (binaries).

在这之后,你必须去到项目属性 - >签名并上传您的证书有作为(这是对的ClickOnce)。您可以跳过code签字,但并签署的ClickOnce只。

After that, you have to go to project properties -> Signing and upload your certificate there as well (it's for ClickOnce). You can skip code signing though and sign ClickOnce only.

ClickOnce的要求其他的证书为code签约,并且将无法正常工作,看到的 ClickOnce部署和Authenti code 的:

ClickOnce requires a certificate for code signing, and others will not work, see ClickOnce Deployment and Authenticode :

有关ClickOnce应用程序,你必须有一个Authenti $ C $ 3C认证证书   有效期为code签字;如果你试图签署的ClickOnce   应用与另一种类型的证书,诸如数字电子邮件   证书,这是行不通的。

For ClickOnce applications, you must have an Authenticode certificate that is valid for code signing; if you attempt to sign a ClickOnce application with another type of certificate, such as a digital e-mail certificate, it will not work.

我前一段时间做了些研究这个 - startssl如果是最便宜的解决方案。我只有积极的与他们的经验。

I did research this a while ago - and StartSSL is the cheapest solution. I had only positive experiences with them.

这篇关于如何签署ClickOnce应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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