Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <security mode="Message">
- <message clientCredentialType="Certificate" />
- </security>
- <behaviors >
- <endpointBehaviors>
- <behavior name="your_binding_behavior">
- <clientCredentials>
- <clientCertificate findValue="[The name of the client certificate here]"
- storeLocation="LocalMachine"
- storeName="My"
- x509FindType="FindBySubjectName"/>
- <serviceCertificate>
- <defaultCertificate findValue="[The name of the server certificate here]"
- storeLocation="LocalMachine"
- storeName="TrustedPeople"
- x509FindType="FindBySubjectName"/>
- <authentication certificateValidationMode="PeerOrChainTrust"/>
- </serviceCertificate>
- </clientCredentials>
- </behavior>
- </endpointBehaviors>
- </behaviors>
Add Comment
Please, Sign In to add comment