IBM Support

Error "com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server did not return a response" accessing Microsoft SQL Server database

Troubleshooting


Problem

Engineering Lifecycle Management (ELM) application fails to connect to the SQL Server database hosted on a Windows server that is enabled for TLSv1.2 only and ELM application is not correctly configured for TLSv1.2

Symptom

Logging in to the Jazz Team Server can report the following error in the web UI  "Error 500: An error occurred while determining the authentication handler for request "https://<server>:<port>/jts/admin" or the following error can be found in the ELM application logs like the jts.log:
2022-10-19T10:59:28,354-0700 [     Default Executor-thread-8] ERROR com.ibm.team.repository                             - CRJAZ2654E The server was unable to connect to the database because the database connection settings are invalid or because database is unreachable (SQLSTATE: 08S01, SQLCODE: 0). Verify the connection settings in your teamserver.properties file. See the Jazz Team Server log for more information.
com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server did not return a response. The connection has been closed. ClientConnectionId:f2acd562-1c85-48d8-af98-88d205d760f7".
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1749) ~[?:?]

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSPRJQ","label":"IBM Engineering Lifecycle Management Base"},"ARM Category":[{"code":"a8m0z000000CbQvAAK","label":"Jazz Team Server-\u003EDatabase-\u003ESQL Server"}],"ARM Case Number":"TS010729328","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.0;7.0.1;7.0.2"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
25 October 2022

UID

ibm16830913