[Spacewalk-list] spacewalk-proxy

Baptiste AGASSE baptiste.agasse at lyra-network.com
Tue May 24 12:58:16 UTC 2011


Hi all,
I've a "little" problem when i try to run configure-proxy.sh, i've the following error :

[root at spacewalk2 ~]# configure-proxy.sh
RHN Parent [spacewalk1.example.com]: 
CA Chain [/usr/share/rhn/RHNS-CA-CERT]: 
Proxy version to activate [1.3]: 
Traceback email []: baptiste.agasse at example.com
Use SSL [Y/n]: y
HTTP Proxy []: 
Regardless of whether you enabled SSL for the connection to the Spacewalk Parent
Server, you will be prompted to generate an SSL certificate.
This SSL certificate will allow client systems to connect to this Spacewalk Proxy
securely. Refer to the Spacewalk Proxy Installation Guide for more information.
Organization []: Example
Organization Unit [spacewalk2.example.com]: 
Common Name [spacewalk2.example.com]: 
City []: Bordeaux
State []: Gironde
Country code []: FR
Email [baptiste.agasse at lyra-network.com]:
ERROR: failed SSL connection - bad or expired cert?
Proxy activation failed! Installation interrupted.
ERROR: failed SSL connection - bad or expired cert?


i checked that the two servers have the same time (both servers are in sync with a ntp server) and the certificate (/usr/share/rhn/RHNS-CA-CERT) is the cert of spacewalk1.example.com and is valid

i ran "/usr/bin/python -m pdb rhn-proxy-activate --server=spacewalk1.lyra-network.com --http-proxy= --http-proxy-username= --http-proxy-password= --ca-cert=/usr/share/rhn/RHNS-CA-CERT --version=1.3" to try to view what's happen and i found something's wrong at (i didn't gone deeper):

(Pdb) n
> /usr/lib/python2.4/site-packages/rhn/rpclib.py(380)_request()
-> self._handler, request, verbose=self._verbose)
(Pdb) n
Error: <OpenSSL.SSL.Error instance at 0x1130b1b8>
> /usr/lib/python2.4/site-packages/rhn/rpclib.py(380)_request()
-> self._handler, request, verbose=self._verbose)
(Pdb) n
> /usr/lib/python2.4/site-packages/rhn/rpclib.py(382)_request()
-> except xmlrpclib.ProtocolError, pe:
(Pdb) 

Spacewalk : v1.4 for the "master" server
OS : CentOS 5.6 up to date on both servers


Someone have a similar problem ?

Regards.

Baptiste AGASSE
Lyra Network, Service Systèmes et Réseaux
Rue Carmin, BP 87350, 31673 Labège Cedex - France
Tél: (+33)5.67.22.31.87
Fax: (+33)5.67.22.31.61
Mail: baptiste.agasse at lyra-network.com
Site: http://www.lyra-network.com





More information about the Spacewalk-list mailing list