使用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.