tell me certicate authentication RRS feed

  • Question

  • I know wcf service uses certificate then how the client will send certificate to wcf service which will consume wcf service. For example when wcf client will call wcf service first time then how client will send certificate to service? please tell me how to work with wcf & certificate.
    Wednesday, February 3, 2016 2:34 PM


  • Hello,

    When we use the certificate authentication in the wcf, in the serive side and client side we 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.

    For more information, please try to refer to:
    #An easy way to use certificates for WCF security: .

    #How to: Use Certificate Authentication and Message Security in WCF: .

    #How to: Use Certificate Authentication and Transport Security in WCF: .

    Best Regards,
    Amy Peng

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, February 4, 2016 2:17 AM