My Oracle Support Banner

JDBC SSL Connection Fails With "java.io.IOException: Received Fatal Alert: Handshake_failure" Error After Database Upgrade (Doc ID 2570392.1)

Last updated on AUGUST 01, 2019

Applies to:

JDBC - Version 12.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

An application connects to Oracle database using SSL with JDBC driver version is 12.2.0.1, and it gets handshake_failure error:

Caused by: java.sql.SQLRecoverableException: IO Error: Received fatal alert: handshake_failure, connect lapse 21 ms., Authentication lapse 0 ms.
       at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:794)
       at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:688)
       at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:39)
       at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:691)
       at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:384)
       at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:273)
       at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:198)
       at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:140)
       at oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:86)
       at oracle.jdbc.pool.OracleImplicitConnectionCache.makeCacheConnection(OracleImplicitConnectionCache.java:1600)
       at oracle.jdbc.pool.OracleImplicitConnectionCache.makeOneConnection(OracleImplicitConnectionCache.java:510)
       at oracle.jdbc.pool.OracleImplicitConnectionCache.defaultUserPrePopulateCache(OracleImplicitConnectionCache.java:236)
       at oracle.jdbc.pool.OracleImplicitConnectionCache.<init>(OracleImplicitConnectionCache.java:205)
       at oracle.jdbc.pool.OracleConnectionCacheManager.createCache(OracleConnectionCacheManager.java:286)
       at oracle.jdbc.pool.OracleConnectionCacheManager.createCache(OracleConnectionCacheManager.java:190)

 

Changes

 Database was upgraded from 11.2.0.4 to 12.2.0.1 ( PDB)

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.