简体   繁体   English

了解应用程序发布,.NET Windows应用程序Clickonce中的证书管理

[英]Understanding Certificate Management in Application Publish, .NET Windows Application Clickonce

I want to know the correct way of managing of publishing my windows application with .net clickonce. 我想知道使用.net clickonce管理发布Windows应用程序的正确方法。 every year I have to create a new test certificate so I can build my c# .net project and publish it. 每年我都必须创建一个新的测试证书,以便可以构建我的c#.net项目并发布它。 end users also have some problems with this certificate changes. 最终用户也有与此证书更改有关的问题。 does it need to have a certificate? 需要证书吗? can I remove it or change the validation period to more than one year? 我可以将其删除还是将验证期限更改为一年以上? please correct me if I am wrong in my question. 如果我的问题不对,请纠正我。 Thanks in advance. 提前致谢。

Since .net 3.5 signing a Clickonce application is optional. 由于.net 3.5签署Clickonce应用程序是可选的。 Just uncheck the options to sign your manifest files. 只需取消选中对清单文件签名的选项即可。 If you do require a certificate and are creating your own, you can modify the expiration date on the certificate. 如果确实需要证书并正在创建自己的证书,则可以在证书上修改到期日期。 Set it to expire some point in the distant future and you don't have to worry about it expiring. 将其设置为在遥远的将来到期,您不必担心它会到期。

Here is a link from a blog that will explain how to create a certificate that does not expire. 这是博客的链接,该链接将说明如何创建不过期的证书。 How to create non-expiring certificate 如何创建未过期的证书

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM