WCF TLS加密套件套件、WCF、TLS

2023-09-06 07:16:54 作者:旧街旧港

我有一个要求指定密码套件用于传输层安全性上 WsHttpBinding的在WCF。

I have a requirement to specify the cipher suite to be used for transport level security on a wsHttpBinding in WCF.

我有问题,找什么样的密码是摆在首位默认使用的TLS通过WCF,更不用说对其进行设置。

I have problems finding what kind of cipher is used by default on TLS by WCF in the first place, let alone set it.

此问题是由于运行在大多数系统都是建立在Java中,这显然允许编程设置密码的环境。

This question is due to operation in an environment where most systems are build on Java, which apparently allows for setting the cipher programmatically.

有没有办法,看看有什么密码被使用,甚至是更好的将其设置为一个不同?

Is there any way to see what cipher is used, and even better set it to a different one?

道歉可能的查询股价和安全性方面滥用,

Apologies for a possible mixup and misuse of security terms,

更新1:我已经确定使用是Wireshark 。客户端提供其支持的加密算法列表和由服务器选择密码以供后续使用的一个。我还没有能够编程定义密码使用既不在客户端或服务器端。请让我知道这个你的经验。

Update 1: I have identified the ciphers used in a WCF client-server interaction using WireShark. The client provides a list of ciphers it supports and the server selects one of the ciphers for subsequent use. I have not yet been able to programmatically define the ciphers to be used neither on the client or server side. Please let me know your experience with this.

谢谢

的Martijn

推荐答案

根据MSDN的 HTTPS是由外部提供给WCF 这意味着TLS / SSL加密套件和证书选择是不可能的编程方式。您可以限制使用系统级设置,可用密码套件的列表,如果这就是你所需要的。

According to MSDN HTTPS is provided externally to WCF which means TLS/SSL cipher suite and certificate selection are not possible programmatically. You can limit the list of available cipher suites using system wide settings if that's what you need.