Description of problem: spacewalk-create-channel doesn't work with self-signed certificate. Version-Release number of selected component (if applicable): spacewalk-remote-utils-2.4.2-1.fc22.noarch How reproducible: always Steps to Reproduce: 1. use default self-signed certificate Actual results: spacewalk-create-channel -l admin -p nimda -s localhost -D /usr/share/rhn/channel-data/5-u1-server-i386-Vt -d my_channel You have not specified a source channel, we will try to determine it from inputs Trying with source channel: rhel-i386-server-vt-5 Traceback (most recent call last): File "/usr/bin/spacewalk-create-channel", line 485, in <module> main() File "/usr/bin/spacewalk-create-channel", line 175, in main auth = client.auth.login(user, password) File "/usr/lib64/python2.7/xmlrpclib.py", line 1240, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.7/xmlrpclib.py", line 1599, in __request verbose=self.__verbose File "/usr/lib64/python2.7/xmlrpclib.py", line 1280, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib64/python2.7/xmlrpclib.py", line 1308, in single_request self.send_content(h, request_body) File "/usr/lib64/python2.7/xmlrpclib.py", line 1456, in send_content connection.endheaders(request_body) File "/usr/lib64/python2.7/httplib.py", line 1049, in endheaders self._send_output(message_body) File "/usr/lib64/python2.7/httplib.py", line 893, in _send_output self.send(msg) File "/usr/lib64/python2.7/httplib.py", line 855, in send self.connect() File "/usr/lib64/python2.7/httplib.py", line 1274, in connect server_hostname=server_hostname) File "/usr/lib64/python2.7/ssl.py", line 352, in wrap_socket _context=self) File "/usr/lib64/python2.7/ssl.py", line 579, in __init__ self.do_handshake() File "/usr/lib64/python2.7/ssl.py", line 808, in do_handshake self._sslobj.do_handshake() ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) Expected results: it should work with self-signed certificate
fixed in bz1237219
Verified with packages spacewalk-remote-utils-2.4.4-1.fc22.noarch spacewalk-postgresql-2.4.2-1.fc22.noarch on Fedora 22 $ spacewalk-create-channel --user=admin --version=6 --update=gold --release=Server --arch=x86_64 --destChannel=my-stable-channel You have not specified a source channel, we will try to determine it from inputs Trying with source channel: rhel-x86_64-server-6 Creating channel, my-stable-channel, with arch x86_64 3431 packages in source file to push. Pushing 0 packages, please wait. Successfully pushed 0 packages out of 3431
Spacewalk 2.4 has been released.