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?
View Complete Post