SAP Knowledge Base Article - Preview

3350622 - JDBC ERRORCODE=-4499 after SSL setup to DB2

Symptom

You see the following error when testing your SSL connection to DB2.
===================================================================
java -cp C:\jdbc11.5\jdbc\db2jcc4.jar;C:\jdbc11.5\jdbc\db2jcc_license_cisuz.jar com.ibm.db2.jcc.DB2Jcc -url "jdbc:db2://<hostname>:<port#>/<database>:deferPrepares=0;connectionCloseWithinFlightTransaction=2;sslConnection=true;sslCertLocation=C:\jdbc11.5\SSL\sap_db2ggs_win12_m1x1_gs_ssl_comm_01.arm;" -user <userid> -password <password>

[jcc][10512][13714]Failed to create connection.
  SQLCODE: -4499
  SQLSTATE: 08001
  Message: [jcc][t4][2030][11211][4.25.23] A communication error occurred during operations on the connection's underlying socket, socket input stream,
or socket output stream.  Error location: Reply.fill() - socketInputStream.read (-1).  
Message: The server selected protocol version TLS11 is not accepted by client preferences [TLS13, TLS12]. ERRORCODE=-4499, SQLSTATE=08001
===================================================================


Read more...

Environment

  • DB2 LUW 11.1 & 11.5

Product

SAP NetWeaver Application Server for Java all versions

Keywords

KBA , BC-DB-DB6 , DB2 Universal Database for Unix / NT , 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.