In v10.2 of the Microsoft JDBC driver for Microsoft SQL Server, TLS encryption is enabled by default.
This means that the JDBC driver will attempt to use TLS when connecting to the SQL Server and if TLS is enabled on the server with a self-signed certificate…