简体   繁体   English

为 SQL Server 连接检查 TLS1.2

[英]Check TLS1.2 for SQL Server Connection

I want to check if the connection between my application and SQL Server is used TLS1.2.我想检查我的应用程序和 SQL Server 之间的连接是否使用了 TLS1.2。 I disabled TLS1.2 but the connection still happened.我禁用了 TLS1.2,但连接仍然发生。 I checked via wireshark and saw nothing about TLS1.2.我通过 wireshark 查了一下,没有看到关于 TLS1.2 的信息。

Please tell us whether your SQL Server is 2012 as the tag displayed.请告诉我们您的 SQL Server 是否为 2012 作为显示的标记。 If so, firstly, please check whether the patch for enabling TLS 1.2 is installed.如果是,首先请检查是否安装了启用TLS 1.2的补丁。

Next please check whether the update for client components and drivers are installed.接下来请检查是否安装了客户端组件和驱动程序的更新。

Please refer to the article: TLS 1.2 support for Microsoft SQL Server .请参阅文章: Microsoft SQL Server 的 TLS 1.2 支持

SQL Server in Windows also supports TLS1.0 and TLS1.1. Windows 中的 SQL Server 也支持 TLS1.0 和 TLS1.1。 If you want to use only TLS 1.2 for client-server communication, please disable TLS 1.0 and 1.1.如果您只想使用 TLS 1.2 进行客户端-服务器通信,请禁用 TLS 1.0 和 1.1。

Please try to disable TLS1.0 1.1 and 1.2, then reboot your machine and test whether the connection can do well.请尝试禁用 TLS1.0 1.1 和 1.2,然后重新启动机器并测试连接是否正常。

By the way, you can see the blog to verify if a connection to SQL Server is Encrypted .顺便说一句,您可以查看博客以验证与 SQL Server 的连接是否已加密

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM