當在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