Skip to content

Commit 5fc76e3

Browse files
committed
katello consumer ca cert install fails when using https or yum install
1 parent fb981f5 commit 5fc76e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fragments/rhn-register.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ function register_rhn() {
3838
function install_sat6_ca_certs() {
3939
# SAT6_HOSTNAME=$1
4040
local SAT6_KEY_RPM="katello-ca-consumer-$1"
41-
local SAT6_KEY_RPM_URL="https://${1}/pub/katello-ca-consumer-latest.noarch.rpm"
41+
local SAT6_KEY_RPM_URL="http://${1}/pub/katello-ca-consumer-latest.noarch.rpm"
4242

4343
if ! rpm -q --quiet $SAT6_KEY_RPM ; then
44-
retry yum -y install $SAT6_KEY_RPM_URL
44+
retry yum -y localinstall $SAT6_KEY_RPM_URL
4545
fi
4646
}
4747

0 commit comments

Comments
 (0)