Using WCF Restful service with Message Certificates RRS feed

  • Question

  • Hi

    I am looking for clarification\tutorial as to what my config (client\server) bindings should be when i want to use message transport with certificates.

    I would have two certificates (client & server) - peerTrusted on the server.



    Tuesday, January 7, 2014 3:14 PM


  • Hi,

    Yes, when we want to use the certificate authentication, we should need one server certificate and one client certificate.

    For details of the binding config, please try to check the following which used the wshttpbinding, for your question, you can change it as webhttpbinding:
    The service side:

    The client side:

    For more information, please try to refer to the following articles:
    #How to: Use Certificate Authentication and Message Security in WCF: .

    #Securing WCF Services with Certificates: .

    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.

    Wednesday, January 8, 2014 6:53 AM