WCF .NET 4.0不无TLS 1.0工作 [英] WCF .NET 4.0 doesn't work without TLS 1.0

查看:431
本文介绍了WCF .NET 4.0不无TLS 1.0工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在公司,我的工作,我们有一个使用WCF在.NET Framework中4.0使用SSL的net.tcp的产品。在一个特定的客户端,出于安全原因,存在停用SSL 2,SSL 3和TLS 1.
中的问题是,通信不不使用TLS 1.0的工作的要求。
谁能告诉我为什么?
我用 IISCrypto 禁用上述协议。它附着在示例代码的讨论。
步骤来重现场景。




  1. 禁用协议作为展会低于
    图像


  2. 重新启动计算机


  3. 附建

  4. 执行SERVER.EXE
  5. 执行Client.exe

  6. 它会显示错误如下:来电者不是由服务
    验证在这里输入的形象描述


解决方案

家伙。



多次尝试后,使WCF运行不使用TLS 1.0的唯一办法,就是启用FIPS。



按照链接的 http://stackoverflow.com/a/13635742/1234031
启用FIPS。


In company that I work we have a product that uses WCF over net.tcp using SSL in .NET Framework 4.0. In a specific client, for security reasons, exists the requirement to disable SSL 2, SSL 3 and TLS 1. The problem is that the communication doesn’t work without TLS 1.0. Can someone tell me Why? I used IISCrypto to disable the above protocols. It's attached in this discussion with the example code. Steps to reproduce the scenario.

  1. Disable the protocols as show in the image below

  2. Restart the Computer

  3. Build the solution attached
  4. Execute the Server.exe
  5. Execute the Client.exe
  6. It’ll show the error below : The caller was not authenticated by the service

解决方案

guys.

After many attempts, the only way to make the WCF run without TLS 1.0, was enabling FIPS.

Follow the link http://stackoverflow.com/a/13635742/1234031 to enable FIPS.

这篇关于WCF .NET 4.0不无TLS 1.0工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆