Intermittent SSL error in EAP6: Could not generate DH keypair

Solution Verified - Updated -

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 6
  • Using an SSL connector

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.