Bug 1829993

Summary: Sub-CA key replication failure [rhel-7.6.z]
Product: Red Hat Enterprise Linux 7 Reporter: Jaroslav Reznik <jreznik>
Component: ipaAssignee: Florence Blanc-Renaud <frenaud>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: urgent Docs Contact:
Priority: high    
Version: 7.7CC: autobot-eus-copy, frenaud, ftweedal, ipa-qe, ndehadra, rcritten, ssidhaye, sumenon, tscherf
Target Milestone: rcKeywords: Regression, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1756913 Environment:
Last Closed: 2020-05-06 12:17:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1755223, 1756913    
Bug Blocks:    

Comment 2 Nikhil Dehadrai 2020-05-04 05:27:07 UTC
This bug is clone of bug BZ#1756913

Thus as per comment at https://bugzilla.redhat.com/show_bug.cgi?id=1756913#c4, verifying the bug as follows.



Bugzilla has been verified manually using the below steps 

[root@master alias]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.6 (Maipo)
ipa-server-4.6.4-10.el7_6.9.x86_64
389-ds-base-1.3.8.4-25.1.el7_6.x86_64
pki-ca-10.5.9-13.el7_6.noarch

1. install master
2. install replica with CA
3. create a sub-CA on one server (e.g master)

#ipa ca-add test_subca --subject='cn=test_subca'
#ipa ca-find
[root@master alias]# ipa ca-find
  Name: test_subca
  Authority ID: b6edadc5-adc2-4245-8ad5-56fef2963eb6
  Subject DN: CN=test_subca
  Issuer DN: CN=Certificate Authority,O=RHEL76.TEST

4. Check the sub-CA signing keys on master.
[root@master alias]# pwd
/var/lib/pki/pki-tomcat/alias
[root@master alias]# certutil -d . -L
Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI
caSigningCert cert-pki-ca b6edadc5-adc2-4245-8ad5-56fef2963eb6 u,u,u

5. confirm that after a short time (10 seconds ought to do it), the sub-CA signing keys
   appear in the Dogtag NSSDB on the OTHER server
   (certutil -d /etc/pki/pki-tomcat/alias -L)
[root@replica alias]# certutil -d . -L
caSigningCert cert-pki-ca b6edadc5-adc2-4245-8ad5-56fef2963eb6 u,u,u

Hence marking the bug as VERIFIED.

Comment 5 errata-xmlrpc 2020-05-06 12:17:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:4170