【发布时间】:2020-01-03 09:00:24
【问题描述】:
关于双向 ssl 的安全模式,我有两个问题。
我浏览了一些网站,例如:
2.https://www.codeproject.com/Articles/348595/Use-Mutual-SSL-Authentication-in-WCF
在所有绑定配置中。我意识到所有安全模式都设置为'Transport'。
<bindings>
<wsHttpBinding>
<!-- configure wsHttp binding with Transport security mode and clientCredentialType as Certificate -->
<binding>
<security mode="Transport">
<transport clientCredentialType="Certificate"/>
</security>
</binding>
</wsHttpBinding>
</bindings>
对此,我想知道是否可以使用其他类型的安全模式,例如 '消息' 或 'TransportWithMessageCredential'。如果有,为什么?
此外,如果可能的话,客户端是否必须将其安全模式更改为与服务器端相同?
【问题讨论】:
标签: wcf wcf-binding wcf-security mutual-authentication