ClickOnce发布后不能安装
当在internet发布用ClickOnce打包的客户端程序时,遇到ClickOnce启动后出错,错误信息如下:
+ Downloading https://xxxxx/Deploy/pc/Booter.application did not succeed.
+ The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
+ The remote certificate is invalid according to the validation procedure.
重点是最后一个+所示,证书不能被验证,查询多次,发现这个web site建立了SSL,用了一个与这个Site不一样的证书。该证书Issue To的域名与这个site的域名不一致导致。