Why does my Red Hat Network Proxy after update or installation not work?
Issue
- Updating using the Red Hat Network Proxy does not work
- ssl related errormessages in /var/log/httpd/* files:
[Thu May 02 11:30:12 2011\] \[warn\] RSA server certificate CommonName (CN) `*satproxy*' does NOT match server name!?
- The Red Hat Satellite Server sends emails containing java exceptions
Environment
-
Red Hat Network Satellite 5.4 that was recently upgraded from version 5.3 (deployments possible)
-
Red Hat Network Proxy on Red Hat Enterprise Linux 5 (deployments of Red Hat Enterprise Linux 4u5 possible)
Resolution 1
Complete reinstallation of RHEL5 on the proxy, then new setup of the proxy applications. This time fixing the points causing problems:
- using a fully qualified domain name for the server
- for proxy configuration using the Red Hat Satellite's fully qualified name
Resolution 2
This is an approach to fix the existing installation that was configuring the proxy using the Satellite's IP:
- shutdown the proxy service:
/usr/sbin/rhn-proxy stop - remove the squid caches:
rm -fv /var/spool/squid/* - cleanup the rhn proxy hostname:
vi /etc/sysconfig/network, set hostname to 'hostname.full.domain' there - configure the /etc/hosts file as instructed in the Proxy Installation Guide . If you have multiple network interfaces the IP/hostname of the interface used to offer proxy services should appear above lines containing the other interfaces IPs.
- set the new hostname also on the running host:
hostname hostname.full.domain.name - Remove the RHN proxy registration from the satellite, also the proxy configchannel
- Now start the setup process in running
configure-proxy.shas documented in the Proxy Installation Guide and pay attention to use fully qualified names when referring to the proxy and the satellite
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
