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

TLS 1.2 SQL Server and Delphi Client

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

I would like to connect to SQL Server TLS 1.2 via delphi XE7 application. How would be make the connection string ? It is possible ?

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

Within the application connection string, you just need to add the following parameters; Encrypt=True and TrustServerCertificate=False and that's it!

Of course your server must be configured to use TLS 1.2. And the client library you use must be TLS enabled.