spacewalk-clone-by-date returns ssl.CertificateError
This document (000019669) is provided subject to the disclaimer at the end of this document.
Environment
Situation
spacewalk-clone-by-date
Traceback (most recent call last): File "/usr/bin/spacewalk-clone-by-date", line 429, in <module> sys.exit(abs(main() or 0)) File "/usr/bin/spacewalk-clone-by-date", line 419, in main return cloneByDate.main(args) File "/usr/share/rhn/utils/cloneByDate.py", line 122, in main xmlrpc = RemoteApi(options.server, options.username, options.password) File "/usr/share/rhn/utils/cloneByDate.py", line 852, in __init__ self.__login() File "/usr/share/rhn/utils/cloneByDate.py", line 865, in __login self.auth_token = self.client.auth.login(self.username, self.password) File "/usr/lib64/python2.7/xmlrpclib.py", line 1243, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.7/xmlrpclib.py", line 1602, in __request verbose=self.__verbose File "/usr/lib64/python2.7/xmlrpclib.py", line 1283, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib64/python2.7/xmlrpclib.py", line 1311, in single_request self.send_content(h, request_body) File "/usr/lib64/python2.7/xmlrpclib.py", line 1459, in send_content connection.endheaders(request_body) File "/usr/lib64/python2.7/httplib.py", line 1078, in endheaders self._send_output(message_body) File "/usr/lib64/python2.7/httplib.py", line 894, in _send_output self.send(msg) File "/usr/lib64/python2.7/httplib.py", line 856, in send self.connect() File "/usr/lib64/python2.7/httplib.py", line 1303, in connect server_hostname=server_hostname) File "/usr/lib64/python2.7/ssl.py", line 369, in wrap_socket _context=self) File "/usr/lib64/python2.7/ssl.py", line 617, in __init__ self.do_handshake() File "/usr/lib64/python2.7/ssl.py", line 854, in do_handshake match_hostname(self.getpeercert(), self.server_hostname) File "/usr/lib64/python2.7/ssl.py", line 292, in match_hostname % (hostname, dnsnames[0])) ssl.CertificateError: hostname 'server' doesn't match 'server.suse.com'
Resolution
mass-PTF for x86_64:
https://ptf.suse.com/f2cf38b50ed714a8409693060195b235/susemanager-3.2/19925/x86_64/20200715
mass-PTF for ppc64le:
https://ptf.suse.com/f2cf38b50ed714a8409693060195b235/susemanager-3.2/19923/ppc64le/20200715
mass-PTF for s390x:
https://ptf.suse.com/f2cf38b50ed714a8409693060195b235/susemanager-3.2/19926/s390x/20200715
Cause
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000019669
- Creation Date: 20-Jul-2020
- Modified Date:23-Jul-2020
-
- SUSE Manager Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com