Home > Net >  How to ignore the warning: Please update server and client to use TLSv1.2 at minimum?
How to ignore the warning: Please update server and client to use TLSv1.2 at minimum?

Time:10-12

I am using springboot 2.7.4 and sql server driver 11.2.1.jre8 on Java 8 to connect to SQL Server 2012 database which uses TLSv1 and the project runs on Tomcat 9.

JDBC driver dependency:

<dependency>
    <groupId>com.microsoft.sqlserver</groupId>
    <artifactId>mssql-jdbc</artifactId>
    <version>11.2.1.jre8</version>
</dependency>

My connection URL is as follows:

spring.datasource.url=jdbc:sqlserver://myhostname;databaseName=mydb;encrypt=false;

According to the enter image description here

  • Related