I am trying to configure my WCF service to run over HTTPS with integrated security, but no matter what I try, I always get the same error:
The authentication schemes configured on the host ('IntegratedWindowsAuthentication') do not allow those configured on the binding 'BasicHttpBinding' ('Anonymous'). Please ensure that the SecurityMode is set to Transport or TransportCredentialOnly
My config looks like:
<serviceBehaviors>
<behavior>
<serviceMetadata httpGetEnabled="true" httpsGetEnabled="true"/>
<serviceDebug includeExceptionDetailInFaults="true"/>
<serviceAuthenticationManager authenticationSchemes="IntegratedWindowsAuthentication"/>
</behavior>
</serviceBehaviors>
<protocolMapping>
<add scheme="https" binding="basicHttpBinding" bindingConfiguration="myHttpsBinding" />
</protocolMapping>
<basicHttpBinding>
<binding name="myHttpsBinding">
<security mode="Transport">
<transport clientCredentialType="InheritedFromHost" />
</security>
</binding>
</basicHttpBinding>
</bindings>
I've tried wsHttpBinding, basicHttpsBinding, etc al, but I always get the same error.