Errors After IBM JDK Upgrade: 'Javax.Net.Ssl.Sslkeyexception:Rsa Premaster Secret Error'

(Doc ID 746423.1)

Last updated on OCTOBER 02, 2017

Applies to:

Oracle Containers for J2EE - Version 10.1.3.0.0 and later
z*OBSOLETE: IBM AIX 4.3 Based Systems (64-bit)
IBM AIX on POWER Systems (64-bit)
IBM AIX Based Systems (64-bit)IBM AIX 4.3 Based Systems (64-bit)
AIX-Based Systems (64-bit)
***Checked for relevance on 17-Set-2014***


Symptoms

After upgrading the IBM JDK in an OC4J instance, upon restarting the OC4J instance the following error occurs:

javax.net.ssl.SSLKeyException: RSA premaster secret error
at com.ibm.jsse2.cb.<init(cb.java:6)
at com.ibm.jsse2.eb.a(eb.java:140)
at com.ibm.jsse2.eb.a(eb.java:207)
at com.ibm.jsse2.db.m(db.java:351)
at com.ibm.jsse2.db.a(db.java:173)
at com.ibm.jsse2.jc.a(jc.java:535)
at com.ibm.jsse2.jc.g(jc.java:203)
at com.ibm.jsse2.jc.a(jc.java:97)
at com.ibm.jsse2.jc.startHandshake(jc.java:44)
at com.ibm.net.ssl.www2.proto .https.b.afterConnect(b.java:38)
at com.ibm.net.ssl.www2.protocol.https.c.connect(c.java:34)
...
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:810)

Caused by: java.security.InvalidKeyException: No installed provider supports this key:
com.sun.net.ssl.internal.ssl.JSA_RSAPublicKey
at javax.crypto.Cipher.a(Unknown Source)
at javax.crypto.Cipher.init(Unknown Source)
at com.ibm.jsse2.cb.<init(cb.java:25)


JDK was updated from:

SOA@iaxhost01:/u01/app/oracle/product/10.1.3/soa/jdk/bin>./java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32dev-20060511 (SR2))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223-20060504 (JIT enabled)
J9VM - 20060501_06428_bHdSMR
JIT - 20060428_1800_r8
GC - 20060501_AA)
JCL - 20060511a

to:

SOA@iaxhost01:/usr/java5_SR8/bin>./java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32devifx-20080811c (SR8a))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223ifx-20080811 (JIT enabled)
J9VM - 20080809_21892_bHdSMr
JIT - 20080620_1845_r8
GC - 200806_19)
JCL - 20080811b

Changes

Update of IBM JDK.

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