SSL support

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
civic9
Posts: 10
Joined: Fri 01 Apr 2011 12:55

SSL support

Post by civic9 » Fri 28 Mar 2014 11:28

Hi,

Does dbexpress ms sql driver support connections to ms sql server (2008 and above) using (SSL?) encryption?

Thanks and best regards.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: SSL support

Post by AlexP » Fri 28 Mar 2014 14:25

Hello,

You can use built-in SSL encryption. To do this, you need to set the Custom String parameter in the following way:
SQLConnection.Params.Add('Custom String=Encrypt=YES');

However, in such a case you need the custom certificate on the target PC. Please refer to MSDN for more detailed information.

Post Reply