WPF Application Deployment using ClickOnce with trust certificate

后端 未结 1 1232
北荒
北荒 2021-02-11 04:12

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

I have gone through

1条回答
  •  感动是毒
    2021-02-11 05:15

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

    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.

    How to use VeriSign Certificate in Click Once Deployment: 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

    You’ve Got a New Verisign Authenticode Certificate – Now What?: https://helgeklein.com/blog/2012/03/youve-got-a-new-verisign-authenticode-certificate-now-what/

    How to create .pfx file from certificate and private key?

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

    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?

    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.

    Certificate Expiration in ClickOnce Deployment: https://msdn.microsoft.com/en-us/library/ff369721.aspx

    0 讨论(0)
提交回复
热议问题