MSDEPLOY using MSBUILD from TFS 2010 -could not establish trust relationship for the SSL/TLS secure channel

主宰稳场 提交于 2019-12-06 12:31:26

问题


I am getting following error.

ERR: could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure

Should I change any thing regarding https on IIS 7.5

/p:DeployOnBuild=True 
/p:DeployTarget=MSDeployPublish 
/p:MSDeployPublishMethod=WMSVC 
/P:CreatePackageOnPublish=True 
/p:MsDeployServiceUrl=151.143.180.16 
/p:DeployiisAppPath="DIAInternal/TestDIA" 
/p:Configuration=Debug 
/p:username= username  
/p:password=Password 
/p:AllowUntrustedCertificate=True

回答1:


/p:AllowUntrustedCertificate=True if you set that to false it would probably work. The other thing you could do is install the bad cert in your trusted root certificate store.



来源:https://stackoverflow.com/questions/5175791/msdeploy-using-msbuild-from-tfs-2010-could-not-establish-trust-relationship-for

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!