BasicHttpBinding with Certificate authentication - error “forbidden”?

后端 未结 2 502
梦毁少年i
梦毁少年i 2021-01-05 06:18

I\'m trying go get WCF server and client mutually authenticate each other using SSL certificates on transport level using BasicHttpBinding. Here\'s how the server is getting

2条回答
  •  梦毁少年i
    2021-01-05 07:13

    Try adding this in the client just after setting Security.Mode:

    binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Certificate;
    

提交回复
热议问题