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 1588945 - CRMFPopClient tool - should allow option to do no key archival [rhel-7.5.z]
Summary: CRMFPopClient tool - should allow option to do no key archival [rhel-7.5.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pki-core
Version: 7.6
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Christina Fu
QA Contact: Asha Akkiangady
Marc Muehlfeld
URL:
Whiteboard:
Depends On: 1585866
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-08 07:29 UTC by Oneata Mircea Teodor
Modified: 2022-07-09 09:39 UTC (History)
5 users (show)

Fixed In Version: pki-core-10.5.1-13.1.el7_5
Doc Type: Enhancement
Doc Text:
With this enhancement, users can create Certificate Request Message Format (CRMF) requests without the key archival option when using the CRMFPopClient utility. This feature increases flexibility because a Key Recovery Authority (KRA) certificate is no longer required. Previously, if the user did not pass the "-b transport_certificate_file" option to CRMFPopClient, the utility automatically used the KRA transport certificate stored in the transport.txt file. With this update, if "-b transport_certificate_file" is not specified, Certificate System creates a request without using key archival.
Clone Of: 1585866
Environment:
Last Closed: 2018-06-26 16:47:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1979 0 None None None 2018-06-26 16:48:33 UTC

Description Oneata Mircea Teodor 2018-06-08 07:29:10 UTC
This bug has been copied from bug #1585866 and has been proposed to be backported to 7.5 z-stream (EUS).

Comment 2 Matthew Harmsen 2018-06-08 15:46:56 UTC
Christina Fu 2018-06-07 20:21:50 EDT

commit 8cf6b5b2ac6da169f1c63341159faebc09580798 (HEAD -> DOGTAG_10_5_BRANCH, origin/DOGTAG_10_5_BRANCH, gerrit/DOGTAG_10_5_BRANCH)
Author: Christina Fu <cfu>
Date:   Mon Jun 4 16:47:57 2018 -0700

    Ticket 3033 CRMFPopClient tool - should allow option to do no key archival
    
    This patch allows key transport cert file to not be specified, which would
    then not include key archive option in the CRMF request.
    
    fixes https://pagure.io/dogtagpki/issue/3033
    
    Change-Id: Ib8c585c15057684aa049632d8eb67c2827d7e774

Comment 3 Christina Fu 2018-06-08 17:02:11 UTC
Test procedure:

Case 1:
run CRMFPopClient per any existing test cases but leave out the 
 -b <transport cert file name>
and expect no key archival (check on KRA to verify)

Case 2:
run CRMFPopClient per any existing test cases with
 -b <transport cert file name>
and expect key archival (this is to make sure the tool didn't break existing feature)

Note:
If there have been test cases that do not specify
 -b <transport cert file name>
but expects default file name and still do key archival, it will no longer
work that way.

Comment 6 Roshni 2018-06-14 14:26:23 UTC
Hi Christina,

Could you please provide more information on which profiles needs to tested in priority from a customer perspective with the changes in this build? With the limited testing time we have I wanted to test high priority scenarios.

Comment 7 Christina Fu 2018-06-14 18:54:32 UTC
since this is a Gossamer-requested "feature" (for CC evaluation), how about just do CMC self-signed case (ask Geetika for it) with caFullCMCSelfSignedCert ?

Comment 8 Roshni 2018-06-15 12:48:06 UTC
[root@auto-hv-01-guest10 ecc_cert_db]# rpm -q pki-ca
pki-ca-10.5.1-13.1.el7_5.noarch
[root@auto-hv-01-guest10 ecc_cert_db]# rpm -qi pki-ca
Name        : pki-ca
Version     : 10.5.1
Release     : 13.1.el7_5
Architecture: noarch
Install Date: Mon 11 Jun 2018 05:10:04 PM EDT
Group       : System Environment/Daemons
Size        : 2451424
License     : GPLv2
Signature   : (none)
Source RPM  : pki-core-10.5.1-13.1.el7_5.src.rpm
Build Date  : Mon 11 Jun 2018 11:08:38 AM EDT
Build Host  : ppc-016.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : http://pki.fedoraproject.org/
Summary     : Certificate System - Certificate Authority

The following scenarios were tested:

1. non-ECC and non-CMC certificates were generated successfully when only CA was installed and CRMFPopClient was used without -b option. Profiles tested were caEncUserCert, caServerCert, caUserCert

2. non-ECC and CMC certificates were generated successfully when only CA was installed and CRMFPopClient was used without -b option. Profiles tested were caFullCMCSelfSignedCert.

3. non-ECC and non-CMC certificates were generated successfully when CA and KRA was installed and CRMFPopClient was used without -b option. Profiles tested were caEncUserCert, caServerCert, caUserCert. No Key generated on KRA.

4. non-ECC and CMC certificates were generated successfully when CA  and KRA was installed and CRMFPopClient was used without -b option. Profiles tested were caFullCMCSelfSignedCert. No Key generated on KRA.

5. non-ECC and non-CMC certificates were generated successfully when CA and KRA were installed and CRMFPopClient was used with -b option. Profiles tested were caEncUserCert, caServerCert, caUserCert. Key generation was successful.

6. non-ECC and CMC certificates were generated successfully when CA  and KRA was installed and CRMFPopClient was used with -b option. Profiles tested were caFullCMCSelfSignedCert. Key archival was successful.

All of the above tested ran successfully on ECC environment as well.

Comment 9 Christina Fu 2018-06-19 17:17:14 UTC
doc text looks good.

Comment 11 errata-xmlrpc 2018-06-26 16:47:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:1979


Note You need to log in before you can comment on or make changes to this bug.