Bug 1588945
Summary: | CRMFPopClient tool - should allow option to do no key archival [rhel-7.5.z] | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Oneata Mircea Teodor <toneata> |
Component: | pki-core | Assignee: | Christina Fu <cfu> |
Status: | CLOSED ERRATA | QA Contact: | Asha Akkiangady <aakkiang> |
Severity: | high | Docs Contact: | Marc Muehlfeld <mmuehlfe> |
Priority: | high | ||
Version: | 7.6 | CC: | cfu, mharmsen, msauton, rhcs-maint, rpattath |
Target Milestone: | rc | Keywords: | FutureFeature, TestCaseProvided, ZStream |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
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.
|
Story Points: | --- |
Clone Of: | 1585866 | Environment: | |
Last Closed: | 2018-06-26 16:47:59 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: | 1585866 | ||
Bug Blocks: |
Description
Oneata Mircea Teodor
2018-06-08 07:29:10 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 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. 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. since this is a Gossamer-requested "feature" (for CC evaluation), how about just do CMC self-signed case (ask Geetika for it) with caFullCMCSelfSignedCert ? [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. doc text looks good. 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 |