SSL configuration (https) for ws2007FederationHttpBinding Endpoint 404 No endpoint found

Another WIF related issue is can someone tell me how to configure https in wcf for the ws2007FederationHttpBinding endpoint. I have certificates and bindings all configured in IIS, but whenever I try to connect to the endpoint, I get a 404 error. My bindings look like this:

<bindings>
    <ws2007FederationHttpBinding>
        <binding name="BindingConfigName">
          <security mode="TransportWithMessageCredential">
                    <message establishSecurityContext="false">
              <issuerMetadata address="https://identity.localhost/issue/wstrust/mex" />
              <claimTypeRequirements>
                <add claimType="http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name" isOptional="true" />
                <add claimType="http://schemas.microsoft.com/ws/2008/06/identity/claims/role" isOptional="true" />
              </claimTypeRequirements>
            </message>
          </security>
        </binding>
    </ws2007FederationHttpBinding>
</bindings>

Endpoint looks like

<endpoint address="https://services.localhost/MyService.svc" binding="ws2007FederationHttpBinding"
      bindingConfiguration="BindingConfigName"
      bindingNamespace="MyNamespace"
      contract="IServiceContract">
</endpoint>

Actually struggling to figure out what to do.

Matt

+5
source share

All Articles