title: WCF Message Security With Service Certificate Only
body: <p>I'm new to WCF, and wanted to know if it is possible to do Message Security, where I use a x.509 certificate for the service only, and for client security do windows credentials, is this acceptable, does it work?  Tried searching the web, but either no discuss on this approach exists, or I have put the wrong wording in my google search, any help is much appreciated, thank you all.</p>
  
  <p>basically, I'd have this in my binding:</p>
  
  <pre><code>&lt;wsHttpBinding&gt;
      &lt;binding name="msgBinding"&gt;
          &lt;security mode="Message"&gt;
              &lt;message clientCredentialType="Windows" /&gt;
          &lt;/security&gt;
      &lt;/binding&gt;
  &lt;/wsHttpBinding&gt;
  </code></pre>
  
  <p>and on my behavior:</p>
  
  <pre><code>&lt;behavior name="wsHttpCertificateBehavior"&gt;
      ...
      &lt;serviceCredentials&gt;
          &lt;serviceCertificate findValue="MyCert" x509FindType="FindBySubjectName" storeLocation="CurrentUser" storeName="My" /&gt;
      &lt;/serviceCredentials&gt;
  &lt;/behavior&gt;
  </code></pre>