IO Error: Received Fatal Alert: Handshake_failure When Using JDBC With Cipher Suite SSL_RSA_EXPORT_WITH_RC4_40_MD5 and JDK 1.7 (Doc ID 2200500.1)

Last updated on NOVEMBER 03, 2016

Applies to:

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

Symptoms

When using JDBC 11.2.0.4 and JDK 1.7 with SSL configured as per <Document 762286.1> - End To End Examples of using SSL With Oracle's JDBC THIN Driver, the following exception is received:

{dbpassword=XXXX, dbuser=FOWS_APP_D, dbURL=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcps)(HOST=)(PORT=6236))(CONNECT_DATA=(SERVICE_NAME=xxxxxxx)))}
{javax.net.ssl.trustStorePassword=XXXX, javax.net.ssl.trustStore=/app0/oracle/Wallets/client_wallet/ewallet.p12, javax.net.ssl.trustStoreType=PKCS12}
SQL Exception occurred:
java.sql.SQLRecoverableException: IO Error: Received fatal alert: handshake_failure
  at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:421)
  at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:531)
  at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:221)
  at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)



Cipher Suite is configured in sqlnet.ora as below:

 

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms