-
Bug
-
Resolution: Unresolved
-
Critical
-
rhel-10.0
-
None
-
dogtag-pki-11.6.0-1.el10
-
Yes
-
Important
-
rhel-sst-idm-cs
-
ssg_idm
-
0
-
Dev ack
-
False
-
-
No
-
None
-
Pass
-
-
Automated
-
Unspecified Release Note Type - Unknown
-
-
All
-
None
What were you trying to do that didn't work?
Installation of an IdM replica with a CA clone fails in FIPS mode
What is the impact of this issue to you?
Since no CA clone can be installed, the CA role is deployed on a single node and is a single point of failure.
Please provide the package NVR for which the bug is seen:
idm-pki-server-11.6.0-0.2.alpha2.el10.noarch
ipa-server-4.12.2-9.el10.x86_64
How reproducible is this bug?:
Always
Steps to reproduce
- Install 2 machines in FIPS mode, set selinux permissive mode with "setenforce 0"
- Install the master with "ipa-server-install --domain ipa.test --realm IPA.TEST --setup-dns --forwarder 10.11.5.160 -a Secret123 -p Secret123 -U"
- Install the replica with a CA role with "ipa-replica-install --domain ipa.test --realm IPA.TEST --setup-ca --principal admin --password Secret123 -U --server server.ipa.test"
Expected results
Replica installation should succeed
Actual results
Replica installation fails:
[7/35]: configuring certificate server instance Failed to configure CA instance See the installation logs and the following files/directories for more information: /var/log/pki/pki-tomcat [error] RuntimeError: CA configuration failed. Your system may be partly configured. Run /usr/sbin/ipa-server-install --uninstall to clean up.CA configuration failed. The ipa-replica-install command failed. See /var/log/ipareplica-install.log for more information
The file /var/log/ipareplica-install.log contains the following trace:
FINE: Command: pkcs12-import --pkcs12 /tmp/ca.p12 --password-file /tmp/tmpo7x9by5f/password.txt --debug "caSigningCert cert-pki-ca" "ocspSigningCert cert-pki-ca" "auditSigningCert cert-pki-ca" "subsystemCert cert-pki-ca" FINE: Module: pkcs12 FINE: Module: import INFO: Initializing NSS INFO: Logging into internal token INFO: Using internal token DEBUG: Command: certutil -L -d /var/lib/pki/pki-tomcat/conf/alias ERROR: CalledProcessError: Command '['openssl', 'pkcs12', '-in', '/tmp/ca.p12', '-out', '/var/lib/pki/pki-tomcat/conf/alias/ca.crt', '-nodes', '-nokeys', '-passin', 'pass:XXXXXXXX']' returned non-zero exit status 1.
- is duplicated by
-
RHEL-75155 CA Clone Installation is failing with 'Error verifying PKCS12 MAC; no PKCS12KDF support.' in FIPS mode
-
- Closed
-