Project

General

Profile

Actions

Bug #34306

closed

New version of Candlepin now has org in entitlement certificate and causes authorization issues

Added by Chris Roberts about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Subscriptions
Target version:
Fixed in Releases:
Found in Releases:

Description

With the new build of Candlepin 4.1.10 they have changed the way entitlement certificates are generated. Before they would look like:

Subject: CN=eb48d5a8-b759-417c-97f7-93dc2369de29

Now the new cert looks like:

Subject: O=Default_Organization, CN=eb48d5a8-b759-417c-97f7-93dc2369de29

So we get an unauthorized because of the way we parse the ID which now comes back looking like:

"/O=Default_Organizationeb48d5a8-b759-417c-97f7-93dc2369de29"

This issue is to address the way we grab the CN from the cert so it works for the new version of Candlepin and the older versions.

Actions

Also available in: Atom PDF