Intermittent SSL Could not generate DH keypair error in JBoss EAP 6 and 7
Issue
- SSL errors with web service that temporarily disappear after a restart of JBoss
- Error in server.log:
handling exception: java.lang.RuntimeException:
Could not generate DH keypair
(with javax.net.debug=ssl) -
Getting the following error:
java.security.InvalidAlgorithmParameterException: parameter object not a ECParameterSpec at org.bouncycastle.jce.provider.JDKKeyPairGenerator$EC.initialize(Unknown Source) at sun.security.ssl.ECDHCrypt.<init>
- Recieving ssl_error_internal_error_alert when using Chrome and Firefox, but Internet Explorer (IE) is able to access the https URL.
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6
- 7
- Using an SSL connector
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.