Hello all,

My sense of paranoia tells me this should be https.

Thanks,

Joshua Roys
>From 727fb359e77d1fd5560edbe6eac552825c895167 Mon Sep 17 00:00:00 2001
From: Joshua Roys <[email protected]>
Date: Fri, 13 Mar 2009 08:47:56 -0400
Subject: [PATCH] fix bootstrap scripts to retrieve server cert using SSL

---
 spacewalk/certs-tools/rhn_bootstrap_strings.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/spacewalk/certs-tools/rhn_bootstrap_strings.py b/spacewalk/certs-tools/rhn_bootstrap_strings.py
index d991d4e..1705844 100644
--- a/spacewalk/certs-tools/rhn_bootstrap_strings.py
+++ b/spacewalk/certs-tools/rhn_bootstrap_strings.py
@@ -248,10 +248,10 @@ echo
 echo "* attempting to install corporate public CA cert"
 if [ $USING_SSL -eq 1 ] ; then
     if [ $ORG_CA_CERT_IS_RPM_YN -eq 1 ] ; then
-        rpm -Uvh ${HTTP_PUB_DIRECTORY}/${ORG_CA_CERT}
+        rpm -Uvh ${HTTPS_PUB_DIRECTORY}/${ORG_CA_CERT}
     else
         rm -f ${ORG_CA_CERT}
-        $FETCH ${HTTP_PUB_DIRECTORY}/${ORG_CA_CERT}
+        $FETCH ${HTTPS_PUB_DIRECTORY}/${ORG_CA_CERT}
         mv ${ORG_CA_CERT} /usr/share/rhn/
     fi
 fi
-- 
1.6.2

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to