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 2043772

Summary: ECC subCA installation failure (pkispawn single step) [RHEL 7.9.z]
Product: Red Hat Enterprise Linux 7 Reporter: Christina Fu <cfu>
Component: pki-coreAssignee: Christina Fu <cfu>
Status: CLOSED WORKSFORME QA Contact: PKI QE <bugzilla-pkiqe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.9CC: aakkiang, awnuk, bugzilla-pkiqe, cfu, ckelley, dpunia, edewata, ftweedal, jmagne, jreznik, mharmsen, prisingh
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2018608 Environment:
Last Closed: 2022-05-06 23:55:43 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:
Bug Depends On: 2018608    
Bug Blocks: 2033100, 2033101, 2033103, 2033106, 2033107, 2033108, 2033109, 2184526    
Attachments:
Description Flags
pkispawn-ecc-sub-ca-log.txt provided by awnuk
none
cfu's pkispawn file for creating root ca
none
cfu's pkispawn file for create subordinate ca none

Comment 3 Christina Fu 2022-01-21 23:34:32 UTC
Created attachment 1852634 [details]
pkispawn-ecc-sub-ca-log.txt provided by awnuk

Comment 4 Christina Fu 2022-01-21 23:43:08 UTC
Hi Andrew, I tried creating an ECC subCA with pkispawn single step and it seems to work just fine (and QE did as well for both single and tw-step).
I understand that if I had the time to look closely at your scripts I might be able to debug and  find out what you did differently.  However, I am tied up at the moment.

What I could do now is to provide you with the pkispawn files that I used to create the root CA and the subCA for you to play with and perhaps check against your scripts, if you are okay with it.
Let me know if that would work for you. thanks.

Comment 5 Christina Fu 2022-01-21 23:45:14 UTC
Created attachment 1852635 [details]
cfu's pkispawn file for creating root ca

This was how I ran it:
pkispawn -v -f ca-ecc.inf -s CA

Comment 6 Christina Fu 2022-01-21 23:47:11 UTC
Created attachment 1852636 [details]
cfu's pkispawn file for create subordinate ca

I ran like the following:
pkispawn -v -f subca-ec.inf -s CA

Comment 7 awnuk 2022-01-31 18:57:43 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=2018608#c22 - should provide steps to reproduce this case.

Comment 8 awnuk 2022-04-27 18:45:17 UTC
Hi Christina,
Hi Matt,

I'm glad to inform you that ECC subCA issue is fixed. You may close this ticket as fixed.

I didn't have to change anything on my side, so I would assume that there were some nss/jss updates that appeared on CentOS side a bit later.

Thanks again for all the help.
Andrew