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 1372091

Summary: ipa cert-show does not show the certificate issued by an external CA assigned to an ipa user
Product: Red Hat Enterprise Linux 7 Reporter: Roshni <rpattath>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED WONTFIX QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: mmuehlfe, pasik, pvoborni, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-13 16:03:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roshni 2016-08-31 21:33:21 UTC
Description of problem:
ipa cert-show does not show the certificate issued by an external CA assigned to an ipa user

Version-Release number of selected component (if applicable):
ipa-server-4.4.0-7.el7.x86_64

How reproducible:
always

Steps to Reproduce:
1. A signing certificate issued by RHCS CA is assigned to an ipa user using ipa user-add-cert.
2.[root@qe-blade-06 ~]# ipa cert-find --users=ipasmartcarduser2
---------------------
1 certificate matched
---------------------
  Subject: UID=ipasmartcarduser2,O=Token Key User
  Issuer: CN=CA Signing Certificate,O=idmqe.lab.eng.bos.redhat.com Security Domain
  Serial number: 28
  Serial number (hex): 0x1C
----------------------------
Number of entries returned 1
----------------------------

Actual results:
[root@qe-blade-06 ~]# ipa cert-show 28
ipa: ERROR: Certificate operation cannot be completed: EXCEPTION (Certificate serial number 0x1c not found)

Expected results:
If ipa cert-find lists the certificate then ipa cert-show is expected to do so too

Additional info:

Comment 2 Petr Vobornik 2016-09-05 16:39:34 UTC
This is expected behavior. IPA cert show cannot display cert by its serial number given that it is not a serial number which belongs to IPA CA. 

ipa cert-show displays info if full certificate blob is passed there.

But the user experience could be better. ipa cert-find should indicate that the cert is external - e.g., in a similar way as how it is done in Web UI.

Comment 3 Petr Vobornik 2016-09-09 13:37:35 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/6315

Comment 7 Rob Crittenden 2019-02-13 16:03:06 UTC
Thank you taking your time and submitting this request for Red Hat Enterprise Linux. The request was cloned to the upstream tracker a long time ago (see link to the upstream ticket above), but it was unfortunately not given priority either in the upstream project, nor in Red Hat Enterprise Linux.

Given that this request is not planned for a close release, it is highly unlikely it will be fixed in this major version of Red Hat Enterprise Linux. We are therefore closing the request as WONTFIX.

To request that Red Hat reconsiders the decision, please reopen the Bugzilla with the help of Red Hat Customer Service and provide additional business and/or technical details about it's importance to you. Please note that you can still track this request or even offer help in the referred upstream Pagure ticket to expedite the solution.