简体   繁体   中英

Use TLS 1.2 in mssql jdbc

Starting which version of mssql-jdbc- jre8 is TLS 1.2 supported? Is a special configuration needed to use TLS 1.2? or it works out of the box)MSSQL server is set up to accept only TLS 1.2 connections)?

Starting which version of mssql-jdbc- jre8 is TLS 1.2 supported?

Java 8 supports TLS1.0 through TLS1.2, and TLS1.2 is the default; see Transport Level Security (TLS) and Java . The MSSQL JDBC drivers will use the JVM's SSL libraries.

Is a special configuration needed to use TLS 1.2?

No. Not on the client side.

or it works out of the box.

Yes.

MSSQL server is set up to accept only TLS 1.2 connections?

That would depend on how the database server itself is configured. According to "TLS 1.2 support for Microsoft SQL Server" , SQL Server 2016 supports TLS 1.0 through 1.2, but you can configure it to disable versions that you don't want.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM