Bouncy Castle NullpointerException with ECDHE and Java 11.0.5

Solution Unverified - Updated -


  • Null Pointer Exception shows up in log
  • TLS connections fail


  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 7.2
  • Picketlink STS
  • Elliptic Curve Diffie-Hellman Ephemeral (ECDHE) keys
  • Built-in Bouncy Castle registered as Java Cryptography Extension (JCE) provider
  • Java 11.0.5 or later

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