Hello could post your workaround? It's been a year since you posted the bug here and there seems to be no interest in correcting. -- Fabio Renault Monteiro | Analista de Tecnologia da Informação | GESUP Instituto de Tecnologia de Informação e Comunicação do Estado do Espírito Santo - Prodest fabio.monte...@prodest.es.gov.br<mailto:fabio.monte...@prodest.es.gov.br> | (27) 3636-7178
On Wed, 08 Apr 2015 17:55:53 +0100 =?utf-8?q?Mart=C3=ADn_Ferrari?= <tin...@debian.org> wrote: > Package: rhn-client-tools > Version: 1.8.26-4 > Severity: important > > Hi, > > I want to report that the package does not really work out of the box, and I > suspect that it does not work at all. There are two problems related to the CA > certificate, the first one is that the default location for it does not match > the installed path: > > Traceback (most recent call last): > File "/usr/sbin/rhnreg_ks", line 218, in <module> > cli.run() > File "/usr/share/rhn/up2date_client/rhncli.py", line 96, in run > sys.exit(self.main() or 0) > File "/usr/sbin/rhnreg_ks", line 90, in main > rhnreg.getCaps() > File "/usr/share/rhn/up2date_client/rhnreg.py", line 237, in getCaps > s = rhnserver.RhnServer() > File "/usr/share/rhn/up2date_client/rhnserver.py", line 165, in __init__ > self._server = rpcServer.getServer(serverOverride=serverOverride) > File "/usr/share/rhn/up2date_client/rpcServer.py", line 171, in getServer > raise up2dateErrors.SSLCertificateFileNotFound(msg) > <class 'up2date_client.up2dateErrors.SSLCertificateFileNotFound'>: > > This is easy to solve, just changing a parameter in the config file: > > -sslCACert=/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT > +sslCACert=/usr/share/rhn/RHNS-CA-CERT > > But then, when that is fixed, I get this error: > > Traceback (most recent call last): > File "/usr/sbin/rhnreg_ks", line 218, in <module> > cli.run() > File "/usr/share/rhn/up2date_client/rhncli.py", line 96, in run > sys.exit(self.main() or 0) > File "/usr/sbin/rhnreg_ks", line 90, in main > rhnreg.getCaps() > File "/usr/share/rhn/up2date_client/rhnreg.py", line 239, in getCaps > s.capabilities.validate() > File "/usr/share/rhn/up2date_client/rhnserver.py", line 172, in > __get_capabilities > self.registration.welcome_message() > File "/usr/share/rhn/up2date_client/rhnserver.py", line 63, in __call__ > return rpcServer.doCall(method, *args, **kwargs) > File "/usr/share/rhn/up2date_client/rpcServer.py", line 203, in doCall > ret = method(*args, **kwargs) > File "/usr/lib/python2.7/xmlrpclib.py", line 1224, 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.7/dist-packages/rhn/rpclib.py", line 381, in _request > self._handler, request, verbose=self._verbose) > File "/usr/lib/python2.7/dist-packages/rhn/transports.py", line 167, in > request > headers, fd = req.send_http(host, handler) > File "/usr/lib/python2.7/dist-packages/rhn/transports.py", line 698, in > send_http > self._connection.connect() > File "/usr/lib/python2.7/dist-packages/rhn/connections.py", line 183, in > connect > self.sock.init_ssl() ------------------------------------------------------------------------------ Antes de imprimir pense em seu compromisso com o meio ambiente. As informações existentes nesta mensagem e em seus arquivos anexados são para uso restrito, sendo seu sigilo protegido por lei. Caso você não seja o destinatário, saiba que leitura, divulgação ou cópia são proibidas. Neste caso, favor notificar o remetente e apagar as informações. O uso impróprio destas informações será tratado conforme as normas da empresa e a legislação em vigor.