none
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

Answers

  • 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:
    http://www.codeproject.com/Articles/18601/An-easy-way-to-use-certificates-for-WCF-security .

    #How to: Use Certificate Authentication and Message Security in WCF:
    http://msdn.microsoft.com/en-us/library/ff648360.aspx .

    #How to: Use Certificate Authentication and Transport Security in WCF:
    http://msdn.microsoft.com/en-us/library/ff650785.aspx .

    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
    Moderator