且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

带证书身份验证的 BasicHttpBinding - 错误“禁止"?

更新时间:2021-09-01 08:32:26

尝试在设置 Security.Mode 后立即在客户端中添加:

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

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