Page 1 of 1

MSConnection utilizes TLS 1.0/1.1 over TLS 1.2, unless they are disabled

Posted: Tue 05 May 2020 21:27
by parisa
Hello there,

We use SDAC 9.1.3 in D2007.

Our application uses following settings to establish an encrypted transmission:

MSConnection.Options.Encrypt = true;
MSConnection.Option.TrustServerCertificate=true;
MSConnection.Options.Provider = prAuto;

We noticed that TLS 1.2 is only utilized if TLS 1.0/1.1 are manually disabled on the machine running the application. Is there a way to configure component to prioritize using newer version of protocol (1.2) to the older versions and eliminate manual process of disabling older versions?

Thanks in advance,
Parisa

Re: MSConnection utilizes TLS 1.0/1.1 over TLS 1.2, unless they are disabled

Posted: Tue 12 May 2020 14:24
by Stellar
To use TLS 1.2 in SDAC, you don't have to configure anything on the client side. When you connect to SQL Server, a list of supported protocols, including "TLS 1.2" is sent to the server.
The server itself decides which protocol to use for data encryption.

Re: MSConnection utilizes TLS 1.0/1.1 over TLS 1.2, unless they are disabled

Posted: Mon 25 May 2020 21:55
by parisa
Thanks for your respond.

Parisa

Re: MSConnection utilizes TLS 1.0/1.1 over TLS 1.2, unless they are disabled

Posted: Wed 03 Jun 2020 12:49
by Stellar
Feel free to contact us if you have any further questions about our products.