Error 'Unable to create connection ... Reason: Login failed due to client TLS version being less than minimal TLS version allowed by the server' when scanning SQL Azure database with TLS 1.2 enforced
book
Article ID: 205945
calendar_today
Updated On:
Products
Data Loss Prevention Network Discover
Issue/Introduction
When attempting a Network Discover database scan of a SQL Azure instance with TLS 1.2 enforce, the following error is returned in the FileReader logs, and is also displayed in the Scan Status page in the Enforce Console:
"Unable to create connection: jdbc:jtds:sqlserver://<fqdn>:1433/<InstanceName>, Reason: Reason: Login failed due to client TLS version being less than minimal TLS version allowed by the server"
Environment
DLP 15.x
Cause
This is caused by the default jTDS driver version 1.2.2 not supporting TLS 1.2.
Resolution
Download a Microsoft JDBC driver that supports JRE 8 and TLS 1.2 Microsoft JDBC
Copy the jdbc jar file to the jdbc directory on the discover server: