Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 973195

Summary: CA-less install fails when intermediate CA is used
Product: Red Hat Enterprise Linux 7 Reporter: Dmitri Pal <dpal>
Component: ipaAssignee: Martin Kosek <mkosek>
Status: CLOSED CURRENTRELEASE QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: arubin, jcholast, mkosek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.1.0-18.el7 Doc Type: Known Issue
Doc Text:
There are multiple problems across different tools used in the identity manager (IdM) installation, which prevents installation of CA-less with intermediate certificate authority (CA). One of the errors is that incorrect trust flags are assigned to the intermediate CA certificate when importing the PKCS#12 file. Consequently, the IdM server installer fails due to an incomplete trust chain that is returned for IdM services. There is no known workaround, CA-less certificates must not contain intermediate CA in their trust chain.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-02 11:34:10 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:

Description Dmitri Pal 2013-06-11 12:54:35 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/3668

This is because wrong trust flags are assigned to the intermediate CA certificate when importing the PKCS!#12 file:
{{{
$ certutil -L <dbdir>
Certificate Nickname                                         Trust Attributes
                                                             SSL,S/MIME,JAR/XPI

The Root CA                                                  CT,C,C
ca1/subca/server                                             u,u,u
ca1/subca                                                    ,,   
}}}

This in turn causes certutil to return an incomplete trust chain:
{{{
$ certutil -O -d <dbdir> -n ca1/subca/server
"ca1/subca/server" [CN=vm-131.idm.lab.bos.redhat.com,O=Subsidiary Example Organization]
}}}

Trust flags of intermediate CA certificates should be set to "c,c,c" to fix this.

Comment 1 Douglas Silas 2013-11-11 18:55:32 UTC
If this feature or issue should be documented in the Release or Technical Notes for RHEL 7.0 Beta, please select the correct Doc Type from the drop-down menu and enter a description in Doc Text.

For info about the differences between known issues, driver updates, deprecated functionality, release notes and Technology Previews, see:

https://engineering.redhat.com/docs/en-US/Policy/70.ecs/html-single/Describing_Errata_Release_and_Technical_Notes_for_Engineers/index.html#bh-known_issue

If you have questions, please email rhel-notes.

Comment 2 Martin Kosek 2013-11-28 13:28:25 UTC
Filling Known Issue doc text for 7.0

Comment 3 Martin Kosek 2016-01-29 13:10:16 UTC
Will this be fixed in the recent 7.3 fixes focused on CA-less to CA-full installation?

Comment 4 Jan Cholasta 2016-02-01 06:18:24 UTC
IIRC this has been fixed since 7.1.

Comment 5 Martin Kosek 2016-02-02 11:34:10 UTC
Ah, closing as fixed then. Please reopen the bug if this happens again.