Symptom
You have recently updated the MS SQL JDBC driver to or above 10.2. You have configured a valid certificate on the SQL server and imported it into the cacerts file of the JVM. But get the following 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: "java.security.cert.CertificateException: Failed to validate the server name "abc"in a certificate during Secure Sockets Layer (SSL) initialization. Name in certificate "xyz.sap.com"". ClientConnectionId:7b96669b-3a1d-4d08-9b56-29f24095b3f9
Read more...
Environment
SAP Identity Management 8.0
MS SQL Server
MSSQL JDBC driver 10.2 or higher
Product
Keywords
IDM, cert, ssl, hostname , KBA , BC-IAM-IDM , Identity Management , BC-DB-MSS , SQL Server in SAP NetWeaver Products , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.