Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-2518

java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 17.0.0.GA
    • FIPS
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Hi ,

      Cu. has enabled FIPS in their RHEL 8 environment.

      Hits the below issue when starting their Quarkus application.

      ~~~

      Caused by: java.security.NoSuchAlgorithmException: PBEWithMD5AndDES SecretKeyFactory not available at java.base/javax.crypto.SecretKeyFactory.<init>(SecretKeyFactory.java:122) at java.base/javax.crypto.SecretKeyFactory.getInstance(SecretKeyFactory.java:168) at org.jasypt.encryption.pbe.StandardPBEByteEncryptor.initialize(StandardPBEByteEncryptor.java:761)

      ~~~

      They are on OPenjdk 17

      Suggested starting the application with jvm argument.

      ~~~
      -Dcom.redhat.fips=false
      ~~~

      But customer wants FIPS enabled  and doesnot want the above flag set.

       

      Please suggest, any workaround/configuration level changes 

              mbalaoal Martin Balao
              rhn-support-asaji Anu Saji
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: