question on RHEL6 yum updates

"Caetano, Greg" <[email protected]> Wed, 17 Nov 2010 04:53:48 +0000
Newsgroups gmane.linux.redhat.rhn.user
Message-ID <DC4F4A611E70464E9D33EE2A18A8D07F6DD9E17CE3@GVW1158EXB.americas.hpqcorp.net>
I am working with a custom distribution and see the following behavior when doing a "yum update" to rhn.redhat.com

[root@dl360g306]# rpm -qa yum
yum-3.2.27-14.el6_0.1.noarch
[root@dl360g306]# rpm -q --whatprovides /etc/sysconfig/rhn/up2date
rhn-client-tools-1.0.0-38.el6.noarch
[root@dl360g306]# rhn_check

[root@dl360g306]# yum update
Loaded plugins: downloadonly, refresh-packagekit, rhnplugin, security
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rhel-i386-server-6. Please verify its path and try again


If I edit /etc/sysconfig/rhn/up2date and change the protocol from https to https by modifying the serverURL
serverURL=http://xmlrpc.rhn.redhat.com/XMLRPC


[root@dl360g306]# yum update
Loaded plugins: downloadonly, refresh-packagekit, rhnplugin, security
rhel-i386-server-6                                                                                           | 1.8 kB     00:00
Error: failed to retrieve repodata/216454a6b5f351413c3656390b31f2c2cf4a1496b333d7ecb950c258a001ca99-primary.xml.gz from rhel-i386-server-6
error was [Errno 14] Peer cert cannot be verified or peer cert invalid

Suggestions?

Greg Caetano
Chicago, IL
[email protected]
Red Hat Certified Engineer