java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not available

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by ujibang

Upgrade to RESTHeart 0.10.1 or later.

,
via GitHub by aldaris

Switch to Oracle JDK from of OpenJDK

Solutions on the web

via nabble.com by Unknown author, 1 year ago
via GitHub by gbhrdt
, 2 years ago
WIExplorerMy KeyStore not available
via Stack Overflow by Ben Ferreira
, 2 years ago
via grokbase.com by Unknown author, 2 years ago
RSA KeyManagerFactory not available
via Stack Overflow by t.pimentel
, 2 years ago
PKCS11 KeyStore not available
java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not available
at sun.security.jca.GetInstance.getInstance(Unknown Source)
at org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom(SessionIdGeneratorBase.java:210)
at org.apache.catalina.util.SessionIdGeneratorBase.getRandomBytes(SessionIdGeneratorBase.java:174)
at org.apache.catalina.util.StandardSessionIdGenerator.generateSessionId(StandardSessionIdGenerator.java:34)
at org.apache.catalina.util.SessionIdGeneratorBase.generateSessionId(SessionIdGeneratorBase.java:167)
at org.apache.catalina.util.SessionIdGeneratorBase.startInternal(SessionIdGeneratorBase.java:256)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.session.ManagerBase.startInternal(ManagerBase.java:719)
at org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:352)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5268)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

3 times, 1 week ago
Once, 2 months ago
2 times, 9 months ago
Once, 1 year ago
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.