Last post Mar 18, 2011 05:03 AM by XiaoCheng Fan - MSFT
Mar 15, 2011 05:33 AM|RightCoder|LINK
I'm trying to deploy my WCF service with Web Deployment Tool 2.0. I'm setting up my build in Visual Studio 2010 with a post build event like this:
if "$(ConfigurationName)" == "Release" "$(TargetDir)_PublishedWebsites\Host_Package\Host.deploy.cmd" /Y /M:https://<myserver>:8172/MSDeploy.axd /U:<username> /P:<password>
When building and deploying I get an errormessage like:
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
The certificate on the remote server is indeed invalid in that sense that it is not signed. I think I need a command that says AllowUntrustedCertificated=true or
something like that. Does anyone have any ideas?
Mar 18, 2011 05:03 AM|XiaoCheng Fan - MSFT|LINK
As far as I know, you can try to directly add -AllowUntrusted=True after you build command.
For more about deploy:
I hope this can be helpful for you