visual studio 2015中的clickonce证书 [英] clickonce certificate in visual studio 2015

查看:218
本文介绍了visual studio 2015中的clickonce证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Forum,

我在2015年的Visual Studio工作。

I am working in visual studio 2015.

已经在应用程序中部署了应用程序,并为我的应用程序创建了测试证书。

Already application has been deployed in the production with creating Test Certificate for my application.

此证书已过期。如果我为现有应用程序创建新的测试证书,请选择对现有申请的影响将起作用。

This certificate has been expired.Suppose  if  i create a new Test certificate for my existing application any impact for the existing application will effect.

请澄清此问题




Rama

推荐答案

Hi Rama,

Hi Rama,

>>此证书已过期。如果我为现有应用程序创建新的测试证书,则会对现有应用程序产生任何影响。

>>This certificate has been expired.Suppose  if  i create a new Test certificate for my existing application any impact for the existing application will effect.

更新证书时客户是否需要卸载并重新安装取决于您所定位的.NET Framework版本。 MSDN文章

ClickOnce部署中的证书到期
 来自Robin是关于证书过期以及如何处理它以便获得对您的客户可能产生的最小影响。

Whether your customers need to uninstall and reinstall when you update your certificate depends on the version of the .NET Framework you are targeting. The MSDN article Certificate Expiration in ClickOnce Deployment from Robin is about certificate expiration and how to handle it so that attain the least amount of impact possible on your customers.

您可以使用新测试扩展当前证书证书。来自
ClickOnce部署和Authenticode
,如果证书在代码签名时有效,则证书不会被视为已过期且安装将起作用。

You can extend your current certificate with a new test certificate. From ClickOnce Deployment and Authenticode ,if a certificate was valid at the time of code-signing, the certificate is not considered expired and the installation will work.

通常,证书过期意味着您需要每12个月重新签署一次ClickOnce应用程序,以便不再需要不断地重新签署应用程序证书,ClickOnce支持时间戳。当您使用证书签署ClickOnce
部署时,ClickOnce会记录签名的日期和时间,并将其嵌入部署的数字签名中。当应用程序使用时间戳签名时,其证书将继续存在即使在到期后也接受,
提供时间戳有效。即使证书已过期,这也允许ClickOnce应用程序仍然运行。

Typically, certificate expiration would mean that you need to re-sign your ClickOnce application every 12 months,In order to remove the need to constantly re-sign applications with new certificates, ClickOnce supports timestamp. When you sign a ClickOnce deployment using a certificate, ClickOnce records the date and time of the signing and embeds it in the deployment's digital signature. When an application is signed with a timestamp, its certificate will continue to be accepted even after expiration, provided the timestamp is valid. This allows ClickOnce applications still to run even if the certificate has since expired.

关于续订现有证书的视频:
如何扩展现有证书,即使它已过期

A video about renew existing certificate : How to extend an existing certificate, even if it has expired

一个可用的命令行工具,用于续订:
RenewCert - 工作版

A available command line Tool to renewCert: RenewCert - Working Version

最好的问候,

Bob


这篇关于visual studio 2015中的clickonce证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆