c# - httpstransport 中的 requireClientCertificate 是什么意思?

标签 c# wcf ssl https

根据 msdn这意味着:

A Boolean value that specifies if the server requires the client to provide a client certificate as part of the HTTPS handshake. The default is false.

有人告诉我这意味着:

Require client certificate false means, that the server accepts any certificate from the client. True means server accepts only trusted certificates. A self signed certificate is also valid ...

我有点困惑,因为此设置的默认值为 false,对我来说,没有证书也可以拥有 https 是没有意义的,还是可以?

最佳答案

您可以通过一种方式使用 SSL。这意味着服务器正在提供可清楚识别的证书,以便客户端可以信任他向其发送请求的端点。然而在他这边,服务器可以接受任何客户端并且需要以不同的方式处理用户的身份验证。

关于c# - httpstransport 中的 requireClientCertificate 是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39098262/

相关文章:

ssl - 连接到外部 https 网络服务时出错

c# - NServiceBus 指定处理程序执行的顺序

c# - 从 C# 调用 WCF 时如何增加 MaxReceivedMessageSize

c# - SortedList/SortedDictionary 奇怪的行为

c# - Entity Framework 在工作量大的情况下抛出意外异常

Wcf、序列化、只读成员

wcf - Silverlight 3 验证 MVVM WCF EF

c# - 网站自动化的最佳方法?

java - InputStream 缓冲数据

Java SSL套接字 : PKIX path building failed