JBoss start up failed with "java.security.NoSuchAlgorithmException PBEwithMD5andDES SecretKeyFactory not available" error

Solution Verified - Updated -

Issue

  • JBoss start up failed with "java.security.NoSuchAlgorithmException PBEwithMD5andDES SecretKeyFactory not available" error.
  • The solution for "OpenJDK 8u282 / 11u10 and above" on How to disable FIPS for java when FIPS is enabled on RHEL 8 does not work.
  • keytool is not working either with portable version of OpenJDK 8u322, it worked fine with 8u312.

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 7.9
    • FIPS enabled
  • OpenJDK
    • 8u322 portable version
  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7
    • vault is used

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