Bug 1358462
| Summary: | pki pkcs12-cert-del shows a successfully deleted message when a wrong nickname is provided | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Roshni <rpattath> |
| Component: | pki-core | Assignee: | RHCS Maintainers <rhcs-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Asha Akkiangady <aakkiang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.3 | CC: | lmiksik, mharmsen, nkinder |
| Target Milestone: | rc | ||
| Target Release: | 7.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | pki-core-10.3.3-8.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 05:26:20 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: | |
| Embargoed: | |||
|
Description
Roshni
2016-07-20 18:25:08 UTC
Upstream ticket: https://fedorahosted.org/pki/ticket/2414 Cherry-picked to DOGTAG_10_3_RHEL_BRANCH:
commit caa7ef990bc5e45ce0aba29acb4f9ddec66e7551
Author: Geetika Kapoor <gkapoor>
Date: Fri Aug 12 05:35:58 2016 -0400
Fix for BZ 1358462
(cherry picked from commit 4b48187b744f1cff2a64c4c5eb00866875a1f99d)
(cherry picked from commit 92b6378053ef427b3a73866dbee415f7ee32d5ae)
[root@cypher ~]# rpm -qi pki-ca Name : pki-ca Version : 10.3.3 Release : 10.el7 Architecture: noarch Install Date: Tue 13 Sep 2016 09:58:32 AM EDT Group : System Environment/Daemons Size : 2431460 License : GPLv2 Signature : (none) Source RPM : pki-core-10.3.3-10.el7.src.rpm Build Date : Sat 10 Sep 2016 02:18:45 AM EDT Build Host : ppc-042.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 [root@cypher ~]# pki -d certsdb -c Secret123 pkcs12-cert-find --pkcs12-file /root/.dogtag/pki-tomcat-rootCA/ca_admin_cert.p12 --pkcs12-password Secret123 --------------- 1 entries found --------------- Certificate ID: 45d4a680fe6cbd3bd06bf28911f12fda02edab12 Serial Number: 0x24 Nickname: PKI Administrator for idmqe.lab.eng.bos.redhat.com Subject DN: CN=PKI Administrator,E=caadmin.eng.bos.redhat.com,OU=pki-tomcat-rootCA,O=idmqe.lab.eng.bos.redhat.com Security Domain Issuer DN: CN=Certificate Authority,OU=pki-ca,O=IdmqeLabEngBosRedhat Domain Has Key: true [root@cypher ~]# pki -d certsdb -c Secret123 pkcs12-cert-del caadmin --pkcs12-file /root/.dogtag/pki-tomcat-rootCA/ca_admin_cert.p12 --pkcs12-password Secret123 Exception: Certificate not found: caadmin [root@cypher ~]# pki -d certsdb -c Secret123 pkcs12-cert-del "PKI Administrator for idmqe.lab.eng.bos.redhat.com" --pkcs12-file /root/.dogtag/pki-tomcat-rootCA/ca_admin_cert.p12 --pkcs12-password Secret123 ------------------------------------------------------------------------ Deleted certificate "PKI Administrator for idmqe.lab.eng.bos.redhat.com" ------------------------------------------------------------------------ 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://rhn.redhat.com/errata/RHBA-2016-2396.html |