"java.io.IOException: Invalid keystore format" when upgraded to java-11-openjdk-

Solution Verified - Updated -


  • JBoss EAP has been configured with a keystore, it was running fine using java-11-openjdk-, but when upgrade to java-11-openjdk-, JBoss EAP won't start and the following error is find in the log:

     Caused by: org.jboss.msc.service.StartException in anonymous service: WFLYDM0018: Unable to start service
     Caused by: java.io.IOException: Invalid keystore format"
  • Attempting to generate a keystore results in the following error:

        java-11-openjdk-$ ./keytool -genseckey -alias vault -storetype jceks -keyalg AES -keysize 128 -storepass vault22 -keypass vault22 -validity 730 -keystore vault.keystore

        keytool error: java.security.KeyStoreException: JCEKS not found


  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 7
  • RHEL
    • 7.9
    • FIPS enabled
  • OpenJDK
    • java-11-openjdk- and later

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content