"java.io.IOException: Invalid keystore format" when upgraded to java-11-openjdk-11.0.13.0.8-1.portable.jdk.el.x86_64

Solution Verified - Updated -

Issue

  • JBoss EAP has been configured with a keystore, it was running fine using java-11-openjdk-11.0.12.0.7-0.portable.jdk.el.x86_64, but when upgrade to java-11-openjdk-11.0.13.0.8-1.portable.jdk.el.x86_64, 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-11.0.14.1.1-1.portable.jdk.el.x86_64/bin$ ./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

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 7
  • RHEL
    • 7.9
    • FIPS enabled
  • OpenJDK
    • java-11-openjdk-11.0.13.0.8-1.portable.jdk.el.x86_64 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