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:

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.