title: WCF error The client certificate is not provided. Specify a client certificate in ClientCredentials
body: <p>I am trying to call a WCF service .I created a selfsigned certificate and installed in my localmachine \personnal \certificates , and also I added that in my  section .But I don't understand why this error is .</p>
  
  <p>Here is my web.config</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
      &lt;system.serviceModel&gt;
          &lt;bindings&gt;
              &lt;wsHttpBinding&gt;
                  &lt;binding name="wsHttpEndpoint"&gt;
                      &lt;security mode="Transport"&gt;
                          &lt;transport clientCredentialType="Certificate" /&gt;
                      &lt;/security&gt;
                  &lt;/binding&gt;
              &lt;/wsHttpBinding&gt;
          &lt;/bindings&gt;
          &lt;client&gt;
              &lt;endpoint address="https://abcdxyz.abc.syntax.com/TestCCService.svc"
                  binding="wsHttpBinding" bindingConfiguration="wsHttpEndpoint"
                  contract="TestCCService.ITestCCService" name="wsHttpEndpoint" /&gt;
          &lt;/client&gt;
  
          &lt;behaviors&gt;
              &lt;endpointBehaviors&gt;
                  &lt;behavior name="CustomBehavior"&gt;
                      &lt;clientCredentials&gt;
                          &lt;clientCertificate findValue="abc.mymachine.name.com" x509FindType="FindBySubjectName"
                            storeLocation="LocalMachine" storeName="My" /&gt;
                          &lt;/clientCredentials&gt;
                  &lt;/behavior&gt;
              &lt;/endpointBehaviors&gt;
          &lt;/behaviors&gt;
  
      &lt;/system.serviceModel&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>but when I try to call my service method its throwing errors 
  "The client certificate is not provided. Specify a client certificate in ClientCredentials."</p>
  
  <p>Appreciate your suggestions to resolve this error ?</p>