使用ClickOnce和信任证书进行WPF应用程序部署

问题描述:

我已经使用测试证书将WPF应用程序部署到生产中。现在,我必须更改测试证书并购买新的证书。

I have deployed my WPF Application using test certificate to production. Now, I have to change the test certificate and purchase a new Certificate.

我已经浏览了MSDN站点,但无法得出结论该怎么办?
因此,我需要对以下内容进行澄清

I have gone through MSDN sites and i am not able to conclude what to do? So, I need the clarification about the following


  1. 在哪里购买这些证书文件以及它是什么类型的证书?

  2. 我们必须在客户端系统上安装那些证书吗?

  3. 该证书的格式是什么? Pfx?

  4. 如果我再次使用受信任的证书进行部署,那么更新由测试证书部署的应用程序会引起任何问题吗?

  1. Where to purchase these certificate files and what type certificate it is?
  2. Do we have to install those certificate on client's system ?
  3. What will be the format of this certificate ? Pfx?
  4. If i deploy again using the trusted certificate, it will cause any problem with updating the application that have deployed by test certificate?

预先感谢


在何处购买这些证书文件以及它是什么类型的证书?

Where to purchase these certificate files and what type certificate it is?

从受信任的机构(例如:例如Verisign。您使用可以使用Pvk2Pfx.exe工具创建的 .pfx 文件对应用程序进行签名。有关此问题的更多信息,请参考以下链接。

From a trusted authority such as for example Verisign. You sign your application with a .pfx file that you may create using the Pvk2Pfx.exe tool. Please refer to the following links for more information about this.

如何在单击一次部署中使用VeriSign证书: https://social.msdn.microsoft.com/Forums/windows/en-US/506409fc-979b-41fd-855a-70da2963877b/how-to-use-verisign-certificate-in- click-once-deployment?forum = winformssetup

您已经获得了新的Verisign Authenticode证书–现在呢? https:// helgeklein。 com / blog / 2012/03 / youve-got-a-new-verisign-authenticode-certificate-now-what /

H要从证书和私钥创建.pfx文件?


我们是否必须在客户端系统上安装那些证书? / p>

Do we have to install those certificate on client's system ?

是的,必须在用户计算机上的Trusted Publishers证书存储区中配置用于签署ClickOnce应用程序的证书。请参阅Brian Noyes的MSDN文章以获取更多信息: https:// msdn。 microsoft.com/en-us/library/ms996418.aspx

Yes, the certificate used to sign a ClickOnce application must be configured in the Trusted Publishers certificate store on the user's machine. Please refer to Brian Noyes' MSDN article for more information: https://msdn.microsoft.com/en-us/library/ms996418.aspx.


如果我再次使用可信证书进行部署,它将会导致更新通过测试证书部署的应用程序出现任何问题?

If i deploy again using the trusted certificate, it will cause any problem with updating the application that have deployed by test certificate?

这取决于。用户可能必须卸载应用程序并使用新的签名证书安装新版本。有关详细信息,请参阅此MSDN文章。

It depends. The users may have to uninstall the application and install the new version with the new signing certificate. Please refer to this MSDN article for details.

ClickOnce部署中的证书过期: https://msdn.microsoft.com/zh-CN/library/ff369721.aspx