TLS 1.2与SQL Server 2014的通信 [英] TLS 1.2 Communication with SQL server 2014

查看:382
本文介绍了TLS 1.2与SQL Server 2014的通信的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个带有2.0框架的.net客户端(桌面)应用程序。此应用程序正在与SQL Server 2014进行通信。我们需要在客户端和数据库服务器之间启用TLS1.2通信。我们启用了TLS 1.2& TLS1.0 SChanels在
数据库服务器机器中并在客户端机器(Windows 7操作系统)中启用相同功能。 当我们运行应用程序默认情况下它是与TLS 1.2的通信。

We have a .net client(desktop) application with 2.0 framework. This application is communicating with SQL Server 2014. We have a requirement to enable the TLS1.2 communication between client and DB server. we have enable TLS 1.2 & TLS1.0 SChanels in DB server machine and enable same in client machine(windows 7 OS).  When we run the application It is comuunication with TLS 1.2 by default.

现在我们将客户端应用程序frameowrk升级到4.0并测试与DB服务器的通信。测试时我发现它正在使用TLS1.0与SQL服务器进行通信。我没有为客户端
应用更新框架版本。如果我将版本降级为2.0,它再次与TLS1.2进行通信。我用4.7.2进行了测试,它也以同样的方式进行测试。我得到一些链接说它取决于操作系统不在.net上。 (https://stackoverflow.com/questions/38275135/does-net-framework-2-0-support-tls1-1)

Now we are upgraded the client application frameowrk to 4.0 and test the communication with DB server. While testing i found It is using TLS1.0 to comminicate with SQL server. I did`t made any code chnages just i updated the framework version for the client application.If i degrade the version to 2.0 it is again communicating with TLS1.2. I tested with 4.7.2 also it is also wrking in the same way. I got some links says it is depends upon the OS not on the .net. (https://stackoverflow.com/questions/38275135/does-net-framework-2-0-support-tls1-1)

为什么会这样bahavour发生了吗?请帮帮我。问候,

Why this bahavour is happen?Please help me on this. Regards,

Kiran

推荐答案

嗨p_kiran,

Hi p_kiran,

感谢您在此发帖。

据我所知,.net framework 2.0不支持TLS 1.2。你能提供更多细节吗?什么是运行时的.net框架版本?

As I know, .net framework 2.0 do not suppoet TLS 1.2. Could you provide more details about that? What is the .net framework version on the runtime?

最好的问候,

Wendy


这篇关于TLS 1.2与SQL Server 2014的通信的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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