dotnet/Documentation/compatibility/wcf-message-security-unable...

946 B

WCF message security now is able to use TLS1.1 and TLS1.2

Scope

Edge

Version Introduced

4.7

Source Analyzer Status

Planned

Change Description

Starting in the .NET Framework 4.7, customers can configure either TLS1.1 or TLS1.2 in WCF message security in addition to SSL3.0 and TLS1.0 through application configuration settings.

  • Quirked
  • Build-time break

In the .NET Framework 4.7, support for TLS1.1 and TLS1.2 in WCF message security is disabled by default. You can enable it by adding the following line to the <runtime> section of the app.config or web.config file:

<runtime>
   <AppContextSwitchOverrides value="Switch.System.ServiceModel.DisableUsingServicePointManagerSecurityProtocols=false;Switch.System.Net.DontEnableSchUseStrongCrypto=false" />
</runtime>

Category

  • Windows Communication Foundation (WCF)