My Oracle Support Banner

HTTP-500 Error Accessing Oracle Portal After Upgrading to Latest JDK1.7: "java.security.NoSuchAlgorithmException: SunTls12RsaPremasterSecret KeyGenerator not available" (Doc ID 2436548.1)

Last updated on JULY 08, 2019

Applies to:

Portal - Version 11.1.1.6.0 to 11.1.1.7.0 [Release FMW11g]
Information in this document applies to any platform.

Symptoms

Oracle Portal 11gR1 (11.1.1.6) is installed and running using an old JDK 1.6 version.   After upgrading to JDK 1.7.0_80, the Portal Page returns HTTP-500 and the log shows the following error:

oracle.webdb.utils.PortalExceptionImpl: I/O Error dispatching request
  at oracle.portal.PortalException.(Unknown Source)
  at oracle.webdb.dispatcher.DispatcherException.(Unknown Source)
  at oracle.webdb.dispatcher.HTTPDispatcher.dispatch(Unknown Source)
  at oracle.webdb.dispatcher.CacheDispatcher.dispatch(Unknown Source)
  at oracle.webdb.page.ContentFetcher.run(Unknown Source)
Caused by: javax.net.ssl.SSLKeyException: RSA premaster secret error
  at sun.security.ssl.RSAClientKeyExchange.(RSAClientKeyExchange.java:89)
  at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:902)
. . .
Caused by: java.security.NoSuchAlgorithmException: SunTls12RsaPremasterSecret KeyGenerator not available
  at javax.crypto.KeyGenerator.(KeyGenerator.java:169)
  at javax.crypto.KeyGenerator.getInstance(KeyGenerator.java:223)
  at sun.security.ssl.JsseJce.getKeyGenerator(JsseJce.java:268)
  at sun.security.ssl.RSAClientKeyExchange.(RSAClientKeyExchange.java:80)
  ... 22 more
caused by: javax.net.ssl.SSLKeyException: RSA premaster secret error
  at sun.security.ssl.RSAClientKeyExchange.(RSAClientKeyExchange.java:89)
  at sun.security.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:902)

Changes

 Upgrading the JDK version

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.