Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

driver could not establish a secure connection to SQL

Arjun AJun 5 2024 — edited Jun 5 2024

Hi,

when i try to connect local SQL server to java, getting this error.

Failed to obtain JDBC Connection; nested exception is com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12]". ClientConnectionId:db7f1b69-f446-4d33-be54-831e5fcfa887

kindly please help me on this,

thanks.

Comments
Post Details
Added on Jun 5 2024
1 comment
339 views