[Spacewalk-list] registering on the same host

Assaf Flatto assaf.flatto at goldmoney.com
Mon Apr 18 14:26:09 UTC 2011


Hello 

I've reinstalled  my server on an RHEL6 platform and since i want the server to be the proxy to the RH network , i wished to register the host as a client on the server ( same host)

This is the error I got :


rhnreg_ks --serverUrl=https://host.foo.com/XMLRPC --activationkey=1-18ec022c1a02a7bccd8594c57013ff5b --force
An error has occurred:
<class 'up2date_client.up2dateErrors.SSLCertificateVerifyFailedError'>
See /var/log/up2date for more information
[root at host ~]#  less /var/log/up2date
[root at host ~]# tail -20  /var/log/up2date
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 64, in __call__
    raise up2dateErrors.SSLCertificateVerifyFailedError()
<class 'up2date_client.up2dateErrors.SSLCertificateVerifyFailedError'>: The SSL certificate /usr/share/rhn/RHNS-CA-CERT failed verification.

[Mon Apr 18 14:11:04 2011] up2date 
Traceback (most recent call last):
  File "/usr/sbin/rhnreg_ks", line 213, in <module>
    cli.run()
  File "/usr/share/rhn/up2date_client/rhncli.py", line 74, 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 231, in getCaps
    s.capabilities.validate()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 156, in __get_capabilities
    self.registration.welcome_message()
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 64, in __call__
    raise up2dateErrors.SSLCertificateVerifyFailedError()
<class 'up2date_client.up2dateErrors.SSLCertificateVerifyFailedError'>: The SSL certificate /usr/share/rhn/RHNS-CA-CERT failed verification.


It seems this was a known issue in older versions that was resolved with a rhn-org-trusted-ssl-cert-1.0-1.noarch.rpm , but I was unable to find any place to download this rpm .

when I tried to find out what provides the SSL certification , i got this result 

yum provides /usr/share/rhn/RHNS-CA-CERT 

Loaded plugins: refresh-packagekit, rhnplugin
rhn-client-tools-1.0.0-38.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk
Repo        : InstallMedia
Matched from:
Filename    : /usr/share/rhn/RHNS-CA-CERT

rhn-client-tools-1.0.0-39.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk
Repo        : rhel-x86_64-server-6
Matched from:
Filename    : /usr/share/rhn/RHNS-CA-CERT

rhn-client-tools-1.4.16-1.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk
Repo        : spacewalk
Matched from:
Filename    : /usr/share/rhn/RHNS-CA-CERT

rhn-client-tools-1.3.12-1.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk
Repo        : spacewalk-client
Matched from:
Filename    : /usr/share/rhn/RHNS-CA-CERT

rhn-client-tools-1.4.16-1.el6.noarch : Support programs and libraries for Red Hat Network or Spacewalk
Repo        : installed
Matched from:
Other       : Provides-match: /usr/share/rhn/RHNS-CA-CERT

I am not sure which of those is the correct one to use , so I have no idea how to proceed from this point .

Any one can help ?

Thanks

Assaf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110418/6ae4ef6a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20110418/6ae4ef6a/attachment.sig>


More information about the Spacewalk-list mailing list