Warm tip: This article is reproduced from serverfault.com, please click

其他-TLS 1.2 SQL Server和Delphi客户端

(其他 - TLS 1.2 SQL Server and Delphi Client)

发布于 2020-11-28 14:15:35

我想通过delphi XE7应用程序连接到SQL Server TLS 1.2。如何建立连接字符串?有可能的 ?

Questioner
B.Geronatsios
Viewed
11
fpiette 2020-11-28 22:34:19

在应用程序连接字符串中,你只需要添加以下参数即可;Encrypt=TrueTrustServerCertificate=False这就是它!

当然,你的服务器必须配置为使用TLS 1.2。并且你使用的客户端库必须启用TLS。