Skip to content
Snippets Groups Projects

rhnreborn: finally make our lives easier for syncing cdn.redhat.com content

Merged Ben Morrice requested to merge rhnreborn into master

All RedHat repos are now defined to use a yum var /certs/$certificate for the the sslclientcert, in addition RedHat repos will run a custom script rhn_update_cert_symlink.sh

rhn_update_cert_symlink.sh will define the $certificate variable (/etc/yum/vars/certificate) to have the content of $repoid The file /cert/$repoid will actually be a symlink to the actual certificate that is entitled for the baseurl

The script will attempt to authenticate to the baseurl of the repo, using the symlink for the clientcert. If this symlink does not exist, or if the authentication fails - the script will then loop over all .pem files and update the symlink to the first .pem that authenticates successfully

Edited by Ben Morrice

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading