Actions
Bug #32624
closedClient receives 403 forbidden when fetching RHEL content when using custom certificates
Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Description
Discord thread: https://community.theforeman.org/t/errno-14-https-error-403-forbidden-redhat-repositories-only/21041
Katello is still using its self-signed default CA to distribute entitlement certificates. This is expected. However, pulpcore certguard has the wrong CA configured in its database - it has picked up the Server CA, which should only be used for clients to authenticate the server certificate. Updating the content of ca_certificate in pulpcore:certguard_rhsmcertguard fixes the issue and allows clients to access the repo. psql -d pulpcore pulpcore=# \set content `cat /etc/pki/katello/certs/katello-default-ca-stripped.crt`` pulpcore=# update certguard_rhsmcertguard SET ca_certificate = :'content' ;
Updated by Eric Helms over 3 years ago
The certificate does not get updated if it changes automatically and this will need to be fixed in addition.
Updated by Eric Helms over 3 years ago
- Status changed from Assigned to New
- Assignee deleted (
Eric Helms)
Updated by Justin Sherrill over 3 years ago
- Project changed from Installer to Katello
Updated by Chris Roberts over 3 years ago
- Category set to Repositories
- Assignee set to Justin Sherrill
- Target version set to Katello 4.0.2
- Triaged changed from No to Yes
Updated by Chris Roberts over 3 years ago
- Status changed from New to Ready For Testing
Updated by The Foreman Bot over 3 years ago
- Pull request https://github.com/Katello/katello/pull/9381 added
Updated by The Foreman Bot over 3 years ago
- Fixed in Releases Katello 4.2.0 added
Updated by Justin Sherrill over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|8dfd072ef08a4dd9524dff998b305320bb83dc79.
Updated by Justin Sherrill over 3 years ago
- Related to Bug #32784: Error: undefined methodpulp_href’ for nil:NilClass` when syncing capsule added
Actions