Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WCF .NET 4.0 doesn't work without TLS 1.0

Tags:

c#

.net

ssl

wcf

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 IISCrypto Image

  2. Restart the Computer

  3. Build the solution (check it out https://github.com/juliancorrea/WCFWithSecurity)

  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 enter image description here

like image 854
Julian Corrêa Avatar asked Nov 10 '22 10:11

Julian Corrêa


1 Answers

guys.

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

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

like image 145
Julian Corrêa Avatar answered Nov 14 '22 22:11

Julian Corrêa