Blame SOURCES/0001-Fix-Bug-2001576-pki-instance-creation-fails-for-IPA-.patch

5c96e5
From 607300e57ea05a1475656f1493745f7c7a28b747 Mon Sep 17 00:00:00 2001
5c96e5
From: Jack Magne <jmagne@redhat.com>
5c96e5
Date: Thu, 23 Sep 2021 13:50:41 -0400
5c96e5
Subject: [PATCH] Fix Bug 2001576 - pki instance creation fails for IPA server
5c96e5
 in FIPS mode (RHEL-8.5). Additional fix to this issue to account for our
5c96e5
 standalone java tools.
5c96e5
5c96e5
---
5c96e5
 base/tools/templates/pki_java_command_wrapper.in | 1 +
5c96e5
 1 file changed, 1 insertion(+)
5c96e5
5c96e5
diff --git a/base/tools/templates/pki_java_command_wrapper.in b/base/tools/templates/pki_java_command_wrapper.in
5c96e5
index 05650630d..d68ed93a3 100644
5c96e5
--- a/base/tools/templates/pki_java_command_wrapper.in
5c96e5
+++ b/base/tools/templates/pki_java_command_wrapper.in
5c96e5
@@ -90,6 +90,7 @@ JAVA_OPTIONS=""
5c96e5
 
5c96e5
 ${JAVA} ${JAVA_OPTIONS} \
5c96e5
   -cp "${PKI_LIB}/*" \
5c96e5
+  -Dcom.redhat.fips=false \
5c96e5
   -Djava.util.logging.config.file=${PKI_LOGGING_CONFIG} \
5c96e5
   com.netscape.cmstools.${COMMAND} "$@"
5c96e5
 
5c96e5
-- 
5c96e5
2.31.1
5c96e5