Registration (traditional) of SLES11SP4 fails with ImportError: No module named backports.ssl_match_hostname
This document (000019928) is provided subject to the disclaimer at the end of this document.
Environment
Situation
REGISTRATION ------------ * registering Traceback (most recent call last): File "/usr/sbin/rhnreg_ks", line 25, in <module> from rhn.connections import idn_puny_to_unicode File "/usr/lib64/python2.6/site-packages/rhn/connections.py", line 14, in <module> from rhn import SSL File "/usr/lib64/python2.6/site-packages/rhn/SSL.py", line 47, in <module> from backports.ssl_match_hostname import match_hostname, CertificateError ImportError: No module named backports.ssl_match_hostname *** Error: Registering the system failed.
Resolution
- python-backports.ssl_match_hostname-3.4.0.2-2.2.x86_64 (from SLES11-SP4-SUSE-Manager-Tools x86_64 channel)
- Login to SUSE Manager 4.1 webUI
- Click on "Software" -> "Package Search"
- Search for the package mentioned above
- Download the package
Cause
Status
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:000019928
- Creation Date: 25-Mar-2021
- Modified Date:25-Mar-2021
-
- SUSE Manager Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com