SSL error when registering or updating Satellite client
Issue
-
Error when trying to update client:
-
on Red Hat Enterprise Linux version 4:
# up2date -l There was an SSL error: [] A common cause of this error is the system time being incorrect. Verify that the time on this system is correct.
-
-
on Red Hat Enterprise Linux version 5 or later:
# yum update Loaded plugins: rhnplugin, security Traceback (most recent call last): File "/usr/bin/yum", line 29, in ? yummain.user_main(sys.argv[1:], exit_code=True) File "/usr/share/yum-cli/yummain.py", line 309, in user_main errcode = main(args) File "/usr/share/yum-cli/yummain.py", line 157, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 187, in getOptionsConfig self.conf File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 664, in <lambda> conf = property(fget=lambda self: self._getConfig(), File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 253, in _getConfig self.plugins.run('init') File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/rhnplugin.py", line 111, in init_hook login_info = up2dateAuth.getLoginInfo() File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 217, in getLoginInfo login() File "/usr/share/rhn/up2date_client/up2dateAuth.py", line 184, in login li = server.up2date.login(systemId) File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__ return rpcServer.doCall(method, *args, **kwargs) File "/usr/share/rhn/up2date_client/rpcServer.py", line 202, in doCall ret = method(*args, **kwargs) File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__ return self.__send(self.__name, args) File "/usr/share/rhn/up2date_client/rpcServer.py", line 38, in _request1 ret = self._request(methodname, params) File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 354, in _request self._handler, request, verbose=self._verbose) File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 171, in request headers, fd = req.send_http(host, handler) File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 702, in send_http self._connection.connect() File "/usr/lib/python2.4/site-packages/rhn/connections.py", line 195, in connect self.sock.init_ssl() File "/usr/lib/python2.4/site-packages/rhn/SSL.py", line 76, in init_ssl self._ctx.load_verify_locations(f) OpenSSL.SSL.Error: []
-
Error when trying to re-register client:
-
on Red Hat Enterprise Linux version 4:
# rhnreg_ks --force --username <satellite login> --password <password> An error has occurred: OpenSSL.SSL.Error
-
-
on Red Hat Enterprise Linux version 5 or later:
# rhnreg_ks --force --username <satellite login> --password <password> There was an SSL error: [] A common cause of this error is the system time being incorrect. Verify that the time on this system is correct.
Environment
- Red Hat Enterprise Linux
- Red Hat Network Satellite
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.