Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>We have a very similar scenario, except for the fact that we are using the default basicHttpBindings rather than our custom ones and configuration. Never-the-less, its still protocol bridging from HTTP to HTTPS.</p> <p>One thing that isn't obvious, is where your client configuration is. The client service is specifiying a Security Mode of Tansport and so should the router. Here is what our, albeit simple, router configuration looks like.</p> <pre><code> &lt;services&gt; &lt;service name="System.ServiceModel.Routing.RoutingService" behaviorConfiguration="RoutingServiceBehaviour"&gt; &lt;endpoint address="" binding="basicHttpBinding" name="reqReplyEndpoint" contract="System.ServiceModel.Routing.IRequestReplyRouter"/&gt; &lt;/service&gt; &lt;/services&gt; </code></pre> <p>Our client config:</p> <pre><code> &lt;client&gt; &lt;endpoint address="https://localhost/Service.svc" binding="basicHttpBinding" bindingConfiguration="SecureHttpBinding" contract="*" name="ServiceClientEndpoint"/&gt; &lt;/client&gt; </code></pre> <p>The SecureHttpBinding is that specified by the client service</p> <pre><code> &lt;bindings&gt; &lt;basicHttpBinding&gt; &lt;binding name="SecureHttpBinding"&gt; &lt;security mode="Transport"&gt; &lt;transport clientCredentialType="None"/&gt; &lt;/security&gt; &lt;/binding&gt; &lt;/basicHttpBinding&gt; &lt;/bindings&gt; </code></pre> <p>Our routing table determines what service to invoke depending on the criteria set in the filters.</p> <p>Also, if your using self-signed certificates in your development environment, make sure they are registered properly. If your using two different machines you will have to export the service certificate to the router service machine. In that instance, your self signed certs will need to be registered using the machine name rather than localhost. </p> <p>HTH.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload