SSLv2Hello is not a recognized protocol When Using JDK 1.7 and JDBC 12.1.0.2
(Doc ID 2367258.1)
Last updated on JUNE 05, 2023
Applies to:
JDBC - Version 11.2.0.4.0 to 12.1.0.2.0 [Release 11.2 to 12.1]Information in this document applies to any platform.
Symptoms
After successfully configuring and testing an SSL connection from client as the initial test by following the steps in <Document:1448841.1> How to Configure SSL/ TCPS on ORACLE RAC (with SCAN) , the same configuration is performed at the application server using JDBC 12.1.0.2 and JDK 1.7, but the SSL connection fails with the error:
java.sql.SQLRecoverableException: IO Error: The Network Adapter could not establish the connection
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:743)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:666)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:566)
at java.sql.DriverManager.getConnection(DriverManager.java:583)
at java.sql.DriverManager.getConnection(DriverManager.java:199)
...
Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:470)
at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:506)
at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:595)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:230)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1452)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:496)
... 21 more
Caused by: oracle.net.ns.NetException: The ssl protocol specified is not supported.
at oracle.net.nt.TcpsConfigure.configureVersion(TcpsConfigure.java:179)
at oracle.net.nt.TcpsNTAdapter.setSSLSocketOptions(TcpsNTAdapter.java:255)
at oracle.net.nt.TcpsNTAdapter.connect(TcpsNTAdapter.java:174)
at oracle.net.nt.ConnOption.connect(ConnOption.java:159)
at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:428)
... 26 more
Caused by: java.lang.IllegalArgumentException: SSLv2Hello is not a recognized protocol.
at com.ibm.jsse2.pb.a(pb.java:46)
at com.ibm.jsse2.pb.b(pb.java:53)
at com.ibm.jsse2.pb.<init>(pb.java:40)
at com.ibm.jsse2.qc.setEnabledProtocols(qc.java:554)
at oracle.net.nt.TcpsConfigure.configureVersion(TcpsConfigure.java:175)
... 30 more
Changes
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 |