Bug 968364

Summary: rct should show the issuer of certificates
Product: Red Hat Enterprise Linux 5 Reporter: Bryan Kearney <bkearney>
Component: subscription-managerAssignee: Bryan Kearney <bkearney>
Status: CLOSED ERRATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.10CC: fsharath, jesusr, jsefler
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
No description necessary
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-30 23:10:17 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:
Bug Depends On:    
Bug Blocks: 840995    

Description Bryan Kearney 2013-05-29 14:32:53 UTC
showing the issuer helps to diagnose where the cert came from (hosted, satellite6, SAM)

Comment 1 Bryan Kearney 2013-05-29 15:39:05 UTC
Fixed in master at 

commit a77d70149591b8255af8d55f0dbcf3ea2130d90b
Author: Bryan Kearney <bkearney>
Date:   Wed May 29 11:26:17 2013 -0400

    Add test data for nosetests

commit ce467d9b8ec18deac106df14678afcfd94cd363c
Author: Bryan Kearney <bkearney>
Date:   Wed May 29 10:34:41 2013 -0400

    968364: show the issuer for certs in rct.
    
    The main driver for this is answering "where did this cert come from".
    The CA information is a good proxy for this question.

Comment 3 Bryan Kearney 2013-06-05 12:36:06 UTC
Moving all modified bugs to ON_QA

Comment 4 Sharath Dwaral 2013-06-05 20:39:53 UTC
Version:
# rpm -qa | egrep "subscription-manager|python-rhsm"
python-rhsm-1.8.12-1.git.0.d747a65.el5
subscription-manager-migration-data-1.11.3.1-1.git.1.78afd75.el5
subscription-manager-gui-1.8.10-1.git.1.b44c4b1.el5
subscription-manager-migration-1.8.10-1.git.1.b44c4b1.el5
subscription-manager-firstboot-1.8.10-1.git.1.b44c4b1.el5
subscription-manager-1.8.10-1.git.1.b44c4b1.el5

Verification:

On stage Server

# subscription-manager register
Username: qa
Password: 
The system has been registered with ID: 8087f894-78c1-4e01-8c35-3bafa7a8666c 

# subscription-manager identity
Current identity is: 8087f894-78c1-4e01-8c35-3bafa7a8666c
name: dhcp129-119.rdu.redhat.com
org name: Quality Assurance
org ID: 711497

# subscription-manager subscribe --auto
Installed Product Current Status:
Product Name: Awesome OS for S390 Bits
Status:       Not Subscribed

Product Name: Stackable with Awesome OS for x86_64 Bits
Status:       Not Subscribed
...
...
...
...

# rct cat-cert /etc/pki/entitlement/6779627352000703943.pem | grep Issuer -A7
Issuer:
	C: US
	CN: Red Hat Candlepin Authority
	O: Red Hat, Inc.
	OU: Red Hat Network
	ST: North Carolina
	emailAddress: ca-support



VERIFIED

Comment 6 errata-xmlrpc 2013-09-30 23:10:17 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.

http://rhn.redhat.com/errata/RHBA-2013-1332.html