Clickonce使用过期的证书发布 [英] Clickonce publish with expired certificate

查看:84
本文介绍了Clickonce使用过期的证书发布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个错误

错误32签名时发生错误:无法签名bin \ Release \ app.publish \ setup.exe.SignTool错误:签名者的证书对签名无效.SignTool错误:尝试签名时发生错误:bin \ Release \ app.publish \ setup.exe MyProject

Error 32 An error occurred while signing: Failed to sign bin\Release\app.publish\setup.exe. SignTool Error: The signer's certificate is not valid for signing. SignTool Error: An error occurred while attempting to sign: bin\Release\app.publish\setup.exe MyProject

我的证书在8/23到期,我尝试在签名"选项卡中创建一个新证书,一切都很好;但是当我单击发布"时,我收到以下消息:

My certificate expired in 8/23, I've tried to create a new certificate in the signing tab and everything is fine; but when I click publish I get this message:

使用与服务器上现有应用程序不同的密钥对应用程序进行了签名.您要覆盖它吗?

The application is signed with a different key than the existing application on the server. Do you want to overwrite it?

如果我选择是",那么用户可以访问新的应用程序版本而不会出现任何证书问题?

If I choose 'yes' the users could access the new application version without any certificate issues?

推荐答案

根据Microsoft本身,如果您的目标是.NET 4或更高版本,则您可以替换证书,发布更新并在其余时间去吃午饭我们中的每一个人都在努力."

According to Microsoft itself, if you are targeting .NET 4 or later "you can just replace your certificate, issue an update, and go to lunch while the rest of us struggle on."

ClickOnce部署中的证书过期

这篇关于Clickonce使用过期的证书发布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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