Are you running this on the Cassini (vs dev server) or on IIS with a cert installed? I have had issues in the past trying to hook up secure endpoints on the dev web server.
Here is the binding configuration that has worked for me in the past. Instead of
basicHttpBinding, it uses
wsHttpBinding. I don't know if that is a problem for you.
<!-- Binding settings for HTTPS endpoint --> <binding name="WsSecured"> <security mode="Transport"> <transport clientCredentialType="None" /> <message clientCredentialType="None" negotiateServiceCredential="false" establishSecurityContext="false" /> </security> </binding>
and the endpoint
<endpoint address="..." binding="wsHttpBinding" bindingConfiguration="WsSecured" contract="IYourContract" />
Also, make sure you change the client configuration to enable Transport security.