Solved: Satellite Certificate has expired error 3006 code on Redhat Satellite 6.5.
Today we will look at an interesting error message and its resolution.
I have encountered this issue multiple times during redhat satellite migration from 5 to 6 and most of the times this trick resolved my issue.
I. Error Message
[root@ngelinux5~]# yum repolist Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager There was an error communicating with RHN. Red Hat Satellite or RHN Classic support will be disabled. Error communicating with server. The message was: Error Message: Satellite Certificate has expired Error Class Code: 3006 Error Class Info: Invalid satellite certificate Explanation: An error has occurred while processing your request. If this problem persists please consult the Red Hat Customer Portal Knowledge Base landing page on common registration Error Class Codes at https://access.redhat.com/solutions/17036 for a possible resolution. If you choose to open a support case in the Red Hat Customer Portal, please be sure to include details of what you were trying to do when this error occurred and specifics on how to reproduce this problem. repo id repo name status !rhel-7-server-rpms/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 41,099 repolist: 41,099 [root@ngelinux5~]#
II. Solution
We need to write 0 in front of enabled option to disable the rhnplugin.
To get the latest repo from satellite without this error message.
[root@ngelinux5~]# cat /etc/yum/pluginconf.d/rhnplugin.conf [main] enabled = 0 gpgcheck = 0 timeout = 120 # You can specify options per channel, e.g.: # #[rhel-i386-server-5] #enabled = 1 # #[some-unsigned-custom-channel] #gpgcheck = 0 [root@ngelinux5~]#
III. Testing
[root@ngelinux5~]# yum repolist Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager repo id repo name status !rhel-7-server-rpms/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 41,099 repolist: 41,099
As we can see above the error message is now disappeared.