How to configure a WCF service to only accept a single client identified by a x509 certificate

后端 未结 2 1348
不知归路
不知归路 2021-02-10 17:32

I have a WCF client/service app that relies on secure communication between two machines and I want to use use x509 certificates installed in the certificate store to identify t

2条回答
  •  深忆病人
    2021-02-10 18:13

    There doesn't appear to be a way to do what I want using web.config.

    I ended up adding a behavior with this tag:

    
      
    
    

    And then add the client's certificate to the "trusted people" certificate store of the user that the server runs as.

提交回复
热议问题