RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1756914 - Sub-CA key replication failure [rhel-7.7.z]
Summary: Sub-CA key replication failure [rhel-7.7.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.7
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: rc
: ---
Assignee: Florence Blanc-Renaud
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On: 1755223
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-30 08:14 UTC by RAD team bot copy to z-stream
Modified: 2019-10-23 07:34 UTC (History)
6 users (show)

Fixed In Version: ipa-4.6.5-11.el7_7.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1755223
Environment:
Last Closed: 2019-10-15 17:48:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure freeipa issue 7964 0 None None None 2019-09-30 08:14:59 UTC
Red Hat Product Errata RHBA-2019:3070 0 None None None 2019-10-15 17:48:11 UTC

Description RAD team bot copy to z-stream 2019-09-30 08:14:57 UTC
This bug has been copied from bug #1755223 and has been proposed to be backported to 7.7 z-stream (EUS).

Comment 7 Sudhir Menon 2019-10-03 12:28:20 UTC
Fix is seen. Verified on RHEL7.7

[root@master]# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 7.7 (Maipo)

[root@master]# rpm -q ipa-server 389-ds-base krb5-server selinux-policy
ipa-server-4.6.5-11.el7_7.3.x86_64
389-ds-base-1.3.9.1-10.el7.x86_64
krb5-server-1.15.1-37.el7_7.2.x86_64
selinux-policy-3.13.1-252.el7.1.noarch

1. certutil -d . -L before setting up sub-ca on master.

[root@master alias]# hostname
master.rhel77.test

[root@master alias]# pwd
/etc/pki/pki-tomcat/alias
[root@master alias]# certutil -d . -L 

Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI
caSigningCert cert-pki-ca                                    CTu,Cu,Cu
auditSigningCert cert-pki-ca                                 u,u,Pu
Server-Cert cert-pki-ca                                      u,u,u
ocspSigningCert cert-pki-ca                                  u,u,u
subsystemCert cert-pki-ca                                    u,u,u

2. Setting up replica with setup ca 
[root@replica ~]# ipa-replica-install --setup-ca -w Secret123 -n rhel77.test --server=master.rhel77.test -r RHEL77.TEST --hostname replica.rhel77.test 
Done.
Finalize replication settings
Restarting the KDC

3. check replica-manage list
[root@master alias]# ipa-replica-manage list
replica.rhel77.test: master
master.rhel77.test: master

4. Setting up sub-ca in ipa master and checking certutil output.

[root@master alias]# ipa ca-add
Name: subca
Subject DN: CN=subca
------------------
Created CA "subca"
------------------
  Name: subca
  Authority ID: cff68fa5-05a8-4d72-8f22-dff1f29135fd
  Subject DN: CN=subca
  Issuer DN: CN=Certificate Authority,O=RHEL77.TEST
  Certificate: MIIDZTCCAk2gAwIBAgIBDzANBgkqhkiG9w0BAQsFADA2MRQwEgYDVQQKDAtSS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u2M8W7MpTEsOZqkDckxYY0/hUrZxohn9azloysV12o5Zd

[root@master alias]# certutil -d . -L 
Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI

caSigningCert cert-pki-ca                                    CTu,Cu,Cu
auditSigningCert cert-pki-ca                                 u,u,Pu
Server-Cert cert-pki-ca                                      u,u,u
caSigningCert cert-pki-ca cff68fa5-05a8-4d72-8f22-dff1f29135fd u,u,u
ocspSigningCert cert-pki-ca                                  u,u,u
subsystemCert cert-pki-ca                                    u,u,u

5. Checking the entry in replica

[root@replica ~]# cd /etc/pki/pki-tomcat/alias/
[root@replica alias]# certutil -d . -L 

Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI

auditSigningCert cert-pki-ca                                 u,u,Pu
caSigningCert cert-pki-ca                                    CTu,Cu,Cu
Server-Cert cert-pki-ca                                      u,u,u
caSigningCert cert-pki-ca cff68fa5-05a8-4d72-8f22-dff1f29135fd u,u,u
ocspSigningCert cert-pki-ca                                  u,u,u
subsystemCert cert-pki-ca                                    u,u,u

Comment 9 errata-xmlrpc 2019-10-15 17:48:08 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:3070


Note You need to log in before you can comment on or make changes to this bug.