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 1458015

Summary: Admin certificate missing during initial interactive installation
Product: Red Hat Enterprise Linux 7 Reporter: Matthew Harmsen <mharmsen>
Component: pki-coreAssignee: RHCS Maintainers <rhcs-maint>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Asha Akkiangady <aakkiang>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.4CC: alee, dmoluguw, msauton
Target Milestone: rcKeywords: GSSTriaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-26 15:24:03 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 Matthew Harmsen 2017-06-01 18:56:09 UTC
This bug is created as a clone of upstream ticket:
https://pagure.io/dogtagpki/issue/2715

While trying to install CA interactively, the admin certificate is missing from the client NSS database. 

The following error occurs:

     [root@localhost /]#  pki -d ~/.dogtag/pki-tomcat/ca/alias client-cert-find
     SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
     SLF4J: Defaulting to no-operation (NOP) logger implementation
     SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
     ---------------------
     No certificates found
     ---------------------

    [root@localhost /]# certutil -L -d ~/.dogtag/pki-tomcat/ca/alias
    Certificate Nickname                                         Trust Attributes
                                                                 SSL,S/MIME,JAR/XPI

Comment 2 Ade Lee 2017-08-30 18:08:25 UTC
Does the PK12 with the admin cert exist?

Ae you sure that the client certdb actually exists?  Its likely to have been removed because pki_client_database_purge=True

I'm not sure this is a real bug.

Comment 3 Matthew Harmsen 2017-10-25 17:56:25 UTC
[20171025] - RHEL 7.5 pre-Alpha Offline Triage ==> 7.6

Comment 4 Dinesh Prasanth 2018-03-26 15:24:03 UTC
@alee may be right. I don't have the environment to reproduce this bug. Maybe we can reopen this issue if I'm able to reproduce in future?