本文介绍了使用TFS 2010中的MSBUILD的MSDEPLOY-无法建立SSL/TLS安全通道的信任关系的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我遇到以下错误.
ERR:无法建立SSL/TLS安全通道的信任关系.根据验证步骤,远程证书无效
ERR: could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure
我应该在IIS 7.5上更改有关https的任何内容吗
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
推荐答案
/p:AllowUntrustedCertificate = True,如果将其设置为false,则可能有效.您可以做的另一件事是在受信任的根证书存储区中安装错误的证书.
/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.
这篇关于使用TFS 2010中的MSBUILD的MSDEPLOY-无法建立SSL/TLS安全通道的信任关系的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!