Rsa Keygenerator Not Available

Posted onby
Active1 year, 3 months ago

Red Hat Customer Portal. Skip to main content. Main Navigation. Products & Services. SunTlsRsaPremasterSecret KeyGenerator not available' when running secured. RSA (1024, 2048) These. Implementation for the specified algorithm is not available from the specified. KeyPairGenerator has not been initialized explicitly. Ssh-keygen -t rsa -b 4096 ssh-keygen -t dsa ssh-keygen -t ecdsa -b 521 ssh-keygen -t ed25519. This maximizes the use of the available randomness. And make sure the.

I encountered an error when my application tries to load a RSA Algorithm provider class from JAVA. The exception stack is as follow: javax.jms.JMSException: RSA. Standard Algorithm Name Documentation. The RSA signature algorithm, which does not use a digesting algorithm (for example, MD5/SHA1) before performing the RSA.

Rsa Premaster Secret Error Suntlsrsapremastersecret Keygenerator Not Available

Artjom B.
54.2k18 gold badges88 silver badges165 bronze badges

4 Answers

If you run the following code, you will get a list of signature algorithms supported by your Java installation.

When I run it (Windows, Java 1.8.0_65), I get:

Rsa key generator

As you can see, RSA is not a valid signature algorithm.
Maybe NONEwithRSA is what you're after?

88.7k4 gold badges73 silver badges138 bronze badges

Please always refer to the documentation

Omer MalikOmer Malik

Specify a valid algorithm. The hash algorithm needs to be specified. For example, SHA256withRSA.

229k43 gold badges339 silver badges433 bronze badges

I've checked the algorithms supported by java versions(1.7) & (1.8) in my machine. One of my project runs on jdk 1.7.0_80, which doesn't support SHA224withRSA algorithm, if you're in same situation then upgrade to newer version of java atleast to (Java SE 7 Update 131)as I've read it should have similar algorithms as java 8. If no option to update java then try adding org.bouncycastlebcprov-jdk15on maven dependency in pom or a jar file to your project & also in java code add where you build SSLContext/HttpClient include below line:

Security.addProvider(new BouncyCastleProvider());

Also tried installing Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7, but it hasn't worked !!

1,2592 gold badges7 silver badges19 bronze badges

Not the answer you're looking for? Browse other questions tagged javacryptographyrsadigital-signature or ask your own question.

Last updated on JULY 08, 2019

Applies to:

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

Rsa Key Generator

Ssh Rsa Key Generator


Oracle Portal 11gR1 ( 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:

Rsa Key Generator Not Available

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 Source)
Caused by: RSA premaster secret error
. . .
Caused by: SunTls12RsaPremasterSecret KeyGenerator not available
at javax.crypto.KeyGenerator.(
at javax.crypto.KeyGenerator.getInstance(
... 22 more
caused by: RSA premaster secret error


Upgrading the JDK version


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

Rsa Keygenerator Not Available


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.