.net - 如何在 .NET ClickOnce 应用程序中设置 'Publisher'

标签 .net wpf clickonce code-signing

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

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

alt text

最佳答案

看看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.

关于.net - 如何在 .NET ClickOnce 应用程序中设置 'Publisher',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2347326/

相关文章:

c# - Clickonce 完全信任应用程序更新因 Windows 8 上的 TrustNotGrantedException 而失败

.net - 为什么我的 TextBox 数据绑定(bind)不起作用?

c# - 如何更新由 "code first from database"生成的数据库?

c# - CefSharp.BrowserSubprocess 错误

wpf - 给定UIElementCollection,找到所有具有样式的元素,然后在WPF中将其更改为样式

c# - 使用 AfterCompile 目标签署 ClickOnce 应用程序

c# - 处理 ClickOnce "Cannot Start Application"消息

c# - C# 中的抽象方法参数逆变?

.net - 是否可以为 .NET 编写仿函数接口(interface)?

c# - 程序集正在构建之外进行优化