I've been working on converting a basicHttpBinding to a customBinding to get my client working on a web farm. I've been fumbling translating the following security section.
<basicHttpBinding ...>
<security mode="Transport">
<transport clientCredentialType="Certificate">
</security>
</basicHttpBinding>
<behaviors>
<behavior>
<clientCredentials>
<clientCertificate
x509FindType="FindBySerialNumber"
findValue="..."
/>
</clientCredentials>
<behavior>
</behaviors>
I'd show you my translation, but what I've been able to fathom is really undereducated guessing. I will also continue doing some more independent research via the web.
This tool converts automatically your binding into a customBinding.
http://webservices20.cloudapp.net/default.aspx
Ok, I figured this out, didn't need to even use the security section in the custombinding, everything I need to set was on the <httpsTransport/> element itself. I've cut out all the non important bits.
<customBinding>
<binding name="viaLoadBalancers">
<textMessageEncoding
messageVersion="Soap11"
writeEncoding="utf-8"
/>
<httpsTransport
authenticationScheme="Anonymous"
requireClientCertificate="true"
/>
</binding>
</customBinding>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With