当在internet发布用ClickOnce打包的客户端程序时,遇到ClickOnce启动后出错,错误信息以下:web
+ 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.app
重点是最后一个+所示,证书不能被验证,查询屡次,发现这个web site创建了SSL,用了一个与这个Site不同的证书。该证书Issue To的域名与这个site的域名不一致致使。ip