简体   繁体   English

如果我的Web服务器证书随ClickOnce应用程序一起过期,怎么办?

[英]If my web server certificate expires with a ClickOnce application, what happens?

I have a ClickOnce application where the web server certificate is about to expire. 我有一个ClickOnce应用程序,其中Web服务器证书即将过期。

I need to clarify whether all the certificate expiration questions and comments about programs not working and needing to be uninstalled/reinstalled are from the CODE signing cert expiring or the IIS WEB cert expiring? 我需要弄清楚是否所有证书到期问题和有关程序无法正常工作且需要卸载/重新安装的注释都是来自CODE签名证书到期还是IIS WEB证书到期?

Would I be right in saying that if the web server cert expires, the only issue is that users who download from the publicly available website will get an untrusted publisher prompt, they say yes and then it works from then on? 我要说的是,如果Web服务器证书过期,唯一的问题是,从公开网站下载的用户将收到不受信任的发布者提示,他们说是,然后从那时开始起作用?

Or will it flat out not work as the package is specifying https and it can't use https if the web server cert has expired? 还是因为该软件包指定了https而无法使用,并且如果Web服务器证书已过期,它就不能使用https?

Any assistance greatly appreciated. 任何帮助,不胜感激。

server certificate has nothing to do with the CODE SIGNING certificate you used for your clickonce application. 服务器证书与您用于clickonce应用程序的CODE SIGNING证书无关。 So you are correct - users who will open webpage to download the installer will see "invalid certificate" message from the browser. 因此,您是正确的-将会打开网页以下载安装程序的用户将从浏览器中看到“无效证书”消息。 But after they download the app, it will install just fine. 但他们下载该应用程序后,将可以正常安装。

Please note - i assume you used timestamp server when you were signing your clickonce app. 请注意-我假设您在签署clickonce应用程序时使用了时间戳服务器。 Otherwise, your signed clickonce app will expire when your code signing certificate expires. 否则,您的签名clickonce应用程序将在您的代码签名证书过期时过期。 But again - that's a side note and it has nothing to do with the web server certificate. 但是,这又是一个旁注,它与Web服务器证书无关。

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

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