Bug #16645
closedInitial capsule syncs of new repositories does not use https for syncing
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1378158
Description of problem:
When syncing a repository for the first time it appears that http is used for syncing rather than https. Subsequent syncs will use https.
This only affect repositories that are exposed via http such as kickstart or custom repositories.
Version-Release number of selected component (if applicable):
6.2.2
How reproducible:
Always
Steps to Reproduce:
1. Create a custom repository
2. Tail /var/log/httpd/foreman_access.log
3. With a capsule associated to library, sync the capsule
Actual results:
You'll see requests for this repository made to the foreman_access.log instead of the foreman-ssl_access_ssl.log
Expected results:
No requests are made via http and foreman_access.log shows no requests
Additional info: