Bug 1767306 - Version should be 4 or 7 in RHV 276 cert?
Summary: Version should be 4 or 7 in RHV 276 cert?
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: releng
Version: 2.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.3.6-4
: ---
Assignee: Assaf
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-31 06:45 UTC by Fengshuang Tan
Modified: 2019-11-18 09:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-18 09:38:54 UTC
oVirt Team: Rel-Eng
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Fengshuang Tan 2019-10-31 06:45:11 UTC
Description of problem:
Version should be 4 or 7 in RHV 276 cert?

Version-Release number of selected component (if applicable):
ppc64le

How reproducible:
always

Steps to Reproduce:
1.
$ curl -k --cert ./rcm-debug-2028-04-05.crt --key ./rcm-debug-2028-04-05.key -k https://cdn.redhat.com/content/dist/rhel-alt/server/7/7Server/power9/ppc64le/rhv-mgmt-agent/4/os/repodata/productid > 276.pem 

$ rct cc 276.pem 
+-------------------------------------------+
	Product Certificate
+-------------------------------------------+
Certificate:
	Path: 276.pem
	Version: 1.0
	Serial: 12750047592154746594
	Start Date: 2018-08-28 09:35:06+00:00
	End Date: 2038-08-23 09:35:06+00:00

Subject:
	CN: Red Hat Product ID [67623382-06b2-4eca-9b16-e701d44e5de6]

Issuer:
	C: US
	CN: Red Hat Entitlement Product Authority
	O: Red Hat, Inc.
	OU: Red Hat Network
	ST: North Carolina
	emailAddress: ca-support

Product:
	ID: 276
	Name: Red Hat Virtualization for IBM Power LE
	Version: 7                    <----------------- why it's 7 here?
	Arch: ppc64le
	Tags: rhel-alt-7-power9
	Brand Type: 
	Brand Name: 


Additional info:
4 is set for Product 150 on Server x86_64, so I think maybe 4 can also be set here, then it seems better.

$ curl -s --key ./rcm-debug-2028-04-05.key --cert ./rcm-debug-2028-04-05.crt -k https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhv-mgmt-agent/4/os/repodata/abddfd56-dfd4-42f6-b30d-1900e2c55a93 > 150_rhvm.pem

$ rct cc 150_rhvm.pem 
+-------------------------------------------+
	Product Certificate
+-------------------------------------------+
Certificate:
	Path: 150_rhvm.pem
	Version: 1.0
	Serial: 12750047592154746630
	Start Date: 2019-10-23 14:37:18+00:00
	End Date: 2039-10-18 14:37:18+00:00Subject:
	CN: Red Hat Product ID [4e5fafb6-c7d3-4ab7-884b-68eba68381c1]Issuer:
	C: US
	CN: Red Hat Entitlement Product Authority
	O: Red Hat, Inc.
	OU: Red Hat Network
	ST: North Carolina
	emailAddress: ca-support:
	ID: 150
	Name: Red Hat Virtualization
	Version: 4
	Arch: x86_64
	Tags: rhv,rhv-4
	Brand Type: 
	Brand Name:

Comment 1 Assaf 2019-11-06 08:32:20 UTC
I updated the certificate to be version 4. Please verify.

Comment 2 Fengshuang Tan 2019-11-08 04:15:36 UTC
[root@dhcp-128-78 CDN_Debug_Cert]# curl -s -k --cert ./rcm-debug-2028-04-05.crt --key ./rcm-debug-2028-04-05.key -k https://cdn.redhat.com/content/dist/rhel-alt/server/7/7Server/power9/ppc64le/rhv-mgmt-agent/4/os/repodata/54c30aed-ace3-4eb9-af58-c7c84a8539b8 > 276.pem
[root@dhcp-128-78 CDN_Debug_Cert]# rct cc 276.pem 

+-------------------------------------------+
	Product Certificate
+-------------------------------------------+

Certificate:
	Path: 276.pem
	Version: 1.0
	Serial: 12750047592154746632
	Start Date: 2019-11-04 11:28:59+00:00
	End Date: 2039-10-30 11:28:59+00:00

Subject:
	CN: Red Hat Product ID [9caa2a3c-8ba0-454b-bfc2-f9fe771e1d03]

Issuer:
	C: US
	CN: Red Hat Entitlement Product Authority
	O: Red Hat, Inc.
	OU: Red Hat Network
	ST: North Carolina
	emailAddress: ca-support

Product:
	ID: 276
	Name: Red Hat Virtualization for IBM Power LE
	Version: 4
	Arch: ppc64le
	Tags: rhel-alt-7-power9
	Brand Type: 
	Brand Name:


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