Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-2071

Keycloak + FIPS throw an exception at start time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 2.7.5.ER1, 2.7.5.ER2, 2.7.5.ER3, 2.7.5.ER4, 2.7.5.CR1
    • team/eng
    • False
    • Hide

      None

      Show
      None
    • False
    • ---

      When I  launch a Keycloak in a QuarkusApp over FIPS I am getting the following error:

      2022-01-28 13:42:09,087 ERROR [🐳 .io/.0.2]] (build-54) Log output from the failed container:
      java.lang.RuntimeException: PBKDF2 algorithm not found 

      Workaround

      Add the following  JAVA_OPT to you Keycloak container  

      -Dcom.redhat.fips=false 

      This workaround will allow you to run Keycloak over FIPS but is not really running over FIPS, you are just skipping the FIPS mode on keycloak. 

              sbiarozk Sergey Beryozkin
              rhn-support-pagonzal Pablo Gonzalez Granados (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: