Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Feb 2016 10:39:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207052] security/py-letsencrypt: letsencrypt-renewal fails after the update to 0.3.0
Message-ID:  <bug-207052-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207052

            Bug ID: 207052
           Summary: security/py-letsencrypt: letsencrypt-renewal fails
                    after the update to 0.3.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: koobs@FreeBSD.org
          Reporter: tremere@cainites.net
             Flags: maintainer-feedback?(koobs@FreeBSD.org)
          Assignee: koobs@FreeBSD.org

I'm running letsencrypt-renewal every night using cron, but after the updat=
e to
0.3.0 I'm seeing the following error in my logfile:

/usr/local/lib/python2.7/site-packages/requests/packages/urllib3/connection=
pool.py:791:
InsecureRequestWarning: Unverified HTTPS request is being made. Adding
certificate verification is strongly advised. See:
https://urllib3.readthedocs.org/en/latest/security.html
  InsecureRequestWarning)
Traceback (most recent call last):
  File "/usr/local/bin/letsencrypt-renewer", line 9, in <module>
    load_entry_point('letsencrypt=3D=3D0.3.0', 'console_scripts',
'letsencrypt-renewer')()
  File "/usr/local/lib/python2.7/site-packages/letsencrypt/renewer.py", line
203, in main
    renew(cert, old_version)
  File "/usr/local/lib/python2.7/site-packages/letsencrypt/renewer.py", line
97, in renew
    new_certr, new_chain, new_key, _ =3D le_client.obtain_certificate(sans)
  File "/usr/local/lib/python2.7/site-packages/letsencrypt/client.py", line
264, in obtain_certificate
    csr =3D crypto_util.init_save_csr(key, domains, self.config.csr_dir)
  File "/usr/local/lib/python2.7/site-packages/letsencrypt/crypto_util.py",
line 78, in init_save_csr
    csr_pem, csr_der =3D make_csr(privkey.pem, names)
  File "/usr/local/lib/python2.7/site-packages/letsencrypt/crypto_util.py",
line 118, in make_csr
    value=3D", ".join("DNS:%s" % d for d in domains)
  File "/usr/local/lib/python2.7/site-packages/OpenSSL/crypto.py", line 651=
, in
__init__
    extension =3D _lib.X509V3_EXT_nconf(_ffi.NULL, ctx, type_name, value)
TypeError: initializer for ctype 'char *' must be a str or list or tuple, n=
ot
unicode

This is not a FreeBSD-only issue, since I found the following issue on the
letsencrypt github: https://github.com/letsencrypt/letsencrypt/issues/2360

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207052-13>