Mailinglist Archive: opensuse-bugs (6588 mails)

< Previous Next >
[Bug 1143069] New: certbot fails with "cannot import name ssl_match_hostname"
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 26 Jul 2019 17:07:06 +0000
  • Message-id: <bug-1143069-21960@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=1143069


Bug ID: 1143069
Summary: certbot fails with "cannot import name
ssl_match_hostname"
Classification: openSUSE
Product: openSUSE Tumbleweed
Version: Current
Hardware: x86-64
OS: openSUSE Factory
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Security
Assignee: security-team@xxxxxxx
Reporter: opensuse@xxxxxxxxxxx
QA Contact: qa-bugs@xxxxxxx
Found By: ---
Blocker: ---

The default python2-certbot in Tumbleweed fails to renew certificates with the
following error:


$ sudo certbot renew
[sudo] password for user:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in <module>
load_entry_point('certbot==0.36.0', 'console_scripts', 'certbot')()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 489,
in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2843,
in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2434,
in load
return self.resolve()
File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2440,
in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python2.7/site-packages/certbot/main.py", line 17, in <module>
from certbot import account
File "/usr/lib/python2.7/site-packages/certbot/account.py", line 17, in
<module>
from acme import messages
File "/usr/lib/python2.7/site-packages/acme/messages.py", line 11, in
<module>
from acme import challenges
File "/usr/lib/python2.7/site-packages/acme/challenges.py", line 12, in
<module>
import requests
File "/usr/lib/python2.7/site-packages/requests/__init__.py", line 43, in
<module>
import urllib3
File "/usr/lib/python2.7/site-packages/urllib3/__init__.py", line 7, in
<module>
from .connectionpool import (
File "/usr/lib/python2.7/site-packages/urllib3/connectionpool.py", line 11,
in <module>
from .exceptions import (
File "/usr/lib/python2.7/site-packages/urllib3/exceptions.py", line 2, in
<module>
from .packages.six.moves.http_client import (
File "/usr/lib/python2.7/site-packages/urllib3/packages/__init__.py", line 3,
in <module>
from . import ssl_match_hostname
ImportError: cannot import name ssl_match_hostname

The version of python2-certbot in Leap 15.0 works. I have no Leap 15.1 machine
to test with yet.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
This Thread
  • No further messages