title: WCF service certificate authentication
body: <p>When wcf service will use the certificate, then how the client, which will consume the wcf service will send the certificate to a wcf service. This idea is not clear to me that when wcf client will call wcf service first time, then how the client will send a certificate of service? Please discuss how people work with wcf &amp; certificate.</p>
  
  <p>Also guide me briefly that what are the steps we need to do to attach certificate with our wcf service?</p>
  
  <p>How wcf client can send the certificate to wcf service when they make a call?</p>
  
  <p>Do we need at all anything to configure for the certificate at wcf client end?</p>
  
  <h2>One guy told me</h2>
  
  <p>When use the certificate authentication in the wcf, then in the serive side and client side, you will need to install the service certificate and the client certificate. Then in the client side, the client will use the service public key to encrypt the message and send to the service, then the service will use the service private key to decrypt the message. And in the service side, it will use the the client public key to encrypt the message and send to the client. Then the client will use the client private key to decrypt the message. </p>
  
  <p>if this is the limitation of certificate authentication that we need to install a certificate on both end, then we can use certificate authentication in very limited case. any tell me how to use certificate authentication when we have no control over the client who will consume the service.
  when client is unknown they how they can send the  certificate to our service. </p>
  
  <p><strong>actually i am trying to know how people manage to implement certificate authentication in real life when they do not have a control over the client who will be using their service.</strong> thanks</p>