Bootstrap script having issues with SSL connection

Solution Verified - Updated -

Issue scripts that have been created with rhn-bootstrap seem to have a bug when being used solely for https connections to the satellite server.

Specifically the following section of the scripts is affected:

if [ $USING_SSL -eq 1 ] ; then
    if [ $ORG_CA_CERT_IS_RPM_YN -eq 1 ] ; then
        rpm -Uvh ${HTTP_PUB_DIRECTORY}/${ORG_CA_CERT}
        rm -f ${ORG_CA_CERT}
        mv ${ORG_CA_CERT} /usr/share/rhn/

This section is only executed when SSL should be used (USING_SSL=1), but instead of the ssl URL (HTTPS_PUB_DIRECTORY) the non-ssl url is used to retrieve the RPM/file containing the organisation ca certificate. As rpm does not seem to support https connections, it should not be used directly to receive and install the Cert RPM. Instead a combination of $FETCH + RPM should be used.


  • Red Hat Network Satellite v 5.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In