Yum shows 'The certificate /usr/share/rhn/RHNS-CA-CERT is expired...'
Issue
yum shows
'The certicate /usr/share/rhn/RHNS-CA-CERT is expired...'
certicate is expired try to use workflow with http instead of https and want yum update rhn*
packages are shown to update to version 1.0.0.-16.e16 but if i want to confirm to download I retrive: Error Downloading Packages:
rhn-setup-1.0.0.1-16.el6.noarch: failed to retrieve getPackage/rhn-setup-1.0.0.1-16.el6.noarch.rpm from rhel-x86_64-server-6
Full history:
yum check-update
The certificate /usr/share/rhn/RHNS-CA-CERT is expired. Please ensure you have the correct certificate and your system time is correct.
serverURL=http://xmlrpc.rhn.redhat.com/XMLRPC
yum update "rhn*"
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package rhn-check.noarch 0:1.0.0.1-8.el6 will be updated
---> Package rhn-check.noarch 0:1.0.0.1-16.el6 will be an update
---> Package rhn-client-tools.noarch 0:1.0.0.1-8.el6 will be updated
---> Package rhn-client-tools.noarch 0:1.0.0.1-16.el6 will be an update
---> Package rhn-setup.noarch 0:1.0.0.1-8.el6 will be updated
---> Package rhn-setup.noarch 0:1.0.0.1-16.el6 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
Updating:
rhn-check noarch 1.0.0.1-16.el6 rhel-x86_64-server-6 64 k
rhn-client-tools noarch 1.0.0.1-16.el6 rhel-x86_64-server-6 556 k
rhn-setup noarch 1.0.0.1-16.el6 rhel-x86_64-server-6 97 k
Is this ok [y/N]: y
Downloading Packages:
Error Downloading Packages:
rhn-setup-1.0.0.1-16.el6.noarch: failed to retrieve getPackage/rhn-setup-1.0.0.1-16.el6.noarch.rpm from rhel-x86_64-server-6
error was [Errno 14] Peer cert cannot be verified or peer cert invalid
rhn-client-tools-1.0.0.1-16.el6.noarch: failed to retrieve getPackage/rhn-client-tools-1.0.0.1-16.el6.noarch.rpm from rhel-x86_64-server-6
error was [Errno 14] Peer cert cannot be verified or peer cert invalid
rhn-check-1.0.0.1-16.el6.noarch: failed to retrieve getPackage/rhn-check-1.0.0.1-16.el6.noarch.rpm from rhel-x86_64-server-6
error was [Errno 14] Peer cert cannot be verified or peer cert invalid
Environment
Red Hat Enterprise Linux (RHEL) 6
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.
