I have a WCF webservice application. built another .net app to consume the wcf webservice.
I kept getting this error message. " Could not establish trust relationship for the SSL/TLS secure channel with authority 'dev.xxxxx.com'."
I googled it and tried a few different solutions, still not able to get it fixed.
WCF service config:
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior>
<!-- To avoid disclosing metadata information, set the values below to false before deployment -->
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true" />
<!-- To receive exception details in faults for debugging purposes, set the value below to true. Set to false before deployment to avoid disclosing exception information -->
<serviceDebug includeExceptionDetailInFaults="false" />
</behavior>
</serviceBehaviors>
</behaviors>
<protocolMapping>
<add binding="basicHttpsBinding" scheme="https" />
</protocolMapping>
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
<bindings>
<basicHttpBinding>
<binding maxBufferSize="104857600" maxReceivedMessageSize="104857600" sendTimeout="00:10:00">
</binding>
</basicHttpBinding>
</bindings>
</system.serviceModel>
<system.webServer>
Client config:
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpsBinding_IIRSvc">
<security mode="Transport">
<transport clientCredentialType="None"
proxyCredentialType="None"
realm="" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="https://dev.xxxxx.com/IRSvc.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpsBinding_IIRSvc"
contract="irsvc.IIRSvc" name="BasicHttpsBinding_IIRSvc" />
</client>
</system.serviceModel>