如何设置“发布者”在 .NET ClickOnce 应用程序中

发布于 2024-08-23 13:13:27 字数 233 浏览 1 评论 0原文

我正在发布 .NET ClickOnce 应用程序,当用户安装它时,发布者将设置为未知发布者(见下文)。

我需要做什么来更改此字段?我需要有效的 SSL 证书吗?

替代文本

I'm publishing a .NET ClickOnce application and when the user installs it the Publisher is set as Unknown Publisher (see below).

What do I need to do to change this field? Do I need a valid SSL certificate?

alt text

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

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

发布评论

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

评论(2

小伙你站住 2024-08-30 13:13:27

请查看有关该主题的这篇文章

  • 使用 MakeCert.exe 实用程序生成的证书通常称为“自证书”或“测试证书”。这种证书的工作方式与 .NET Framework 中的 .snk 文件的工作方式非常相似:它仅由公共/私有加密密钥对组成,并且不包含有关发布者的可验证信息。您可以使用自证书在内网上部署高度信任的 ClickOnce 应用程序;但是,当这些应用程序在客户端计算机上运行时,ClickOnce 会将它们识别为来自“未知发布者”。默认情况下,使用自证书签名并通过 Internet 部署的 ClickOnce 应用程序无法使用可信应用程序部署。

  • 相比之下,如果您从 CA(例如证书供应商或企业内的部门)收到证书,则该证书可为您的用户提供更高的安全性。它不仅可以识别签名软件的发布者,还可以通过与签名软件的 CA 进行核对来验证该身份。如果 CA 不是根颁发机构,Authenticode 也会“链接”回根颁发机构,以验证 CA 是否有权颁发证书。为了提高安全性,您应该尽可能使用由 CA 颁发的证书。

Have a look at this article on the subject:

  • A certificate generated using the MakeCert.exe utility is commonly called a "self-cert" or a "test cert". This kind of certificate works much the same way that a .snk file works in the .NET Framework: it consists solely of a public/private cryptographic key pair, and contains no verifiable information about the publisher. You can use self-certs to deploy ClickOnce applications with high trust on an intranet; however, when these applications run on a client computer, ClickOnce will identify them as coming from an "Unknown Publisher." By default, ClickOnce applications signed with self-certs and deployed over the Internet cannot utilize Trusted Application Deployment.

  • By contrast, if you receive a certificate from a CA—such as a certificate vendor, or a department within your enterprise—the certificate offers more security for your users. It not only identifies the publisher of the signed software, but it verifies that identity by checking with the CA that signed it. If the CA is not the root authority, Authenticode will also "chain" back to the root authority to verify that the CA is authorized to issue certificates. For greater security, you should use a certificate issued by a CA whenever possible.

浮生未歇 2024-08-30 13:13:27

您需要由可信来源(例如 Versign)颁发的证书,或者用户需要在安装应用程序之前将您的证书安装到其可信证书存储中。

You either need a certificate issued by a trusted source (e.g. Versign), or the user needs to install your certificate into their trusted certificates storage before installing your application.

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