Bug #18403
closed
capsule sync not working after hostname change
Added by John Mitsch almost 8 years ago.
Updated over 6 years ago.
Description
When one changes the hostname using katello-change-hostname, syncing and registering a capsule fails. The ueber cert is generated using the old CA and isn't changed, so its still using the old hostname
curl: (35) Peer does not recognize and trust the CA that issued your certificate.
This is actually related to https://bugzilla.redhat.com/show_bug.cgi?id=1418376 Once this is fixed an in our daily build we can use a rake task that runs something like "::Katello::Resources::Candlepin::Consumer.get({}).select{|c| c['type']['label'] == 'uebercert' }.each{|c| ::Katello::Resources::Candlepin::Consumer.destroy(c['uuid']) }" to fix it.
- Project changed from Packaging to Katello
- Target version set to 178
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6680 added
- Project changed from Katello to Packaging
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Pull request https://github.com/Katello/katello-packaging/pull/397 added
- Translation missing: en.field_release set to 209
- Bugzilla link set to 924383
- Project changed from Packaging to Katello
- Pull request deleted (
https://github.com/Katello/katello-packaging/pull/397, https://github.com/Katello/katello/pull/6680)
Also available in: Atom
PDF