Blob Blame History Raw
From 115778bf20812b271c81f19806332f14151dcb7d Mon Sep 17 00:00:00 2001
From: Jack Magne <jmagne@redhat.com>
Date: Thu, 23 Sep 2021 13:50:41 -0400
Subject: [PATCH] Fix Bug 2001576 - pki instance creation fails for IPA server
 in FIPS mode (RHEL-8.5). Additional fix to this issue to account for our
 standalone java tools.

---
 base/tools/templates/pki_java_command_wrapper.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/base/tools/templates/pki_java_command_wrapper.in b/base/tools/templates/pki_java_command_wrapper.in
index 05650630d4..d68ed93a30 100644
--- a/base/tools/templates/pki_java_command_wrapper.in
+++ b/base/tools/templates/pki_java_command_wrapper.in
@@ -90,6 +90,7 @@ JAVA_OPTIONS=""
 
 ${JAVA} ${JAVA_OPTIONS} \
   -cp "${PKI_LIB}/*" \
+  -Dcom.redhat.fips=false \
   -Djava.util.logging.config.file=${PKI_LOGGING_CONFIG} \
   com.netscape.cmstools.${COMMAND} "$@"
 
-- 
2.31.1