Forum Stats

  • 3,837,185 Users
  • 2,262,234 Discussions
  • 7,900,218 Comments

Discussions

USE SSL FOR ENCRYPTION ONLY in Oracle12c failed for Open JDK 15

I am trying to connect the Oracle 12c database using the Java Code. It works for wallets. so file and pck file but the problem for encryption only.

"oracle.net.ssl_cipher_suites","(SSL_DH_anon_WITH_3DES_EDE_CBC_SHA,SSL_DH_anon_WITH_RC4_128_MD5,SSL_DH_anon_WITH_DES_CBC_SHA)

This code works for the Open JDK 11 but when we upgrade to Open JDK 15 facing the issue

java.sql.SQLRecoverableException: IO Error: No appropriate protocol (protocol is disabled or cipher suites are inappropriate), connect lapse 3 ms., Authentication lapse 0 ms.

Remove MD5, 3DES_EDE_CBC in the java.security files : jdk.jar.disabledAlgorithms, jdk.tls.disabledAlgorithms and jdk.certpath.disabledAlgorithms

Welcome on any suggestion or workaround from the community.