Symptom
When installing NetWeaver Java 7.5 with MSSQL server as database, the installations fails with the following error in instdir_jload.java.log:
Connecting to database
Couldn't connect to DB
com.sap.inst.common.exception.DBConnectionException: com.sap.sql.log.OpenSQLException: Exception of type com.microsoft.sqlserver.jdbc.SQLServerException caught: 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 [TLS12]". ClientConnectionId:63a6006b-36b8-4eea-bac1-3887a45a0a62.
at com.sap.inst.common.db.DBConnection.connect(DBConnection.java:158)
at com.sap.inst.jload.Jload.main(Jload.java:263)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:162)
Caused by: com.sap.sql.log.OpenSQLException: Exception of type com.microsoft.sqlserver.jdbc.SQLServerException caught: 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 [TLS12]". ClientConnectionId:63a6006b-36b8-4eea-bac1-3887a45a0a62.
......
Caused by: javax.net.ssl.SSLHandshakeException: The server selected protocol version TLS10 is not accepted by client preferences [TLS12]
at sun.security.ssl.Alert.createSSLException(Alert.java:131)
at sun.security.ssl.Alert.createSSLException(Alert.java:117)
at sun.security.ssl.TransportContext.fatal(TransportContext.java:357)
at sun.security.ssl.TransportContext.fatal(TransportContext.java:313)
at sun.security.ssl.TransportContext.fatal(TransportContext.java:304)
at sun.security.ssl.ServerHello$ServerHelloConsumer.onServerHello(ServerHello.java:946)
at sun.security.ssl.ServerHello$ServerHelloConsumer.consume(ServerHello.java:873)
Read more...
Environment
SAP NetWeaver Application Server Java 7.5
Product
Keywords
TLS10, TLS1.2, SQLServerException, Secure Sockets Layer (SSL) encryption , KBA , BC-DB-MSS , SQL Server in SAP NetWeaver Products , BC-INS-SWPM , Installation with Software Provisioning Manager , BC-JVM , SAP Java Virtual Machine , 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.