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 ID: 1143069
Summary: certbot fails with "cannot import name
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/", line 489,
in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/site-packages/pkg_resources/", line 2843,
in load_entry_point
return ep.load()
File "/usr/lib/python2.7/site-packages/pkg_resources/", line 2434,
in load
return self.resolve()
File "/usr/lib/python2.7/site-packages/pkg_resources/", line 2440,
in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/lib/python2.7/site-packages/certbot/", line 17, in <module>
from certbot import account
File "/usr/lib/python2.7/site-packages/certbot/", line 17, in
from acme import messages
File "/usr/lib/python2.7/site-packages/acme/", line 11, in
from acme import challenges
File "/usr/lib/python2.7/site-packages/acme/", line 12, in
import requests
File "/usr/lib/python2.7/site-packages/requests/", line 43, in
import urllib3
File "/usr/lib/python2.7/site-packages/urllib3/", line 7, in
from .connectionpool import (
File "/usr/lib/python2.7/site-packages/urllib3/", line 11,
in <module>
from .exceptions import (
File "/usr/lib/python2.7/site-packages/urllib3/", line 2, in
from .packages.six.moves.http_client import (
File "/usr/lib/python2.7/site-packages/urllib3/packages/", 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