[Bug 207052] security/py-letsencrypt: letsencrypt-renewal fails after the update to 0.3.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 9 10:39:12 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207052

            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 at FreeBSD.org
          Reporter: tremere at cainites.net
             Flags: maintainer-feedback?(koobs at FreeBSD.org)
          Assignee: koobs at FreeBSD.org

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

/usr/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.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==0.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, _ = le_client.obtain_certificate(sans)
  File "/usr/local/lib/python2.7/site-packages/letsencrypt/client.py", line
264, in obtain_certificate
    csr = 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 = make_csr(privkey.pem, names)
  File "/usr/local/lib/python2.7/site-packages/letsencrypt/crypto_util.py",
line 118, in make_csr
    value=", ".join("DNS:%s" % d for d in domains)
  File "/usr/local/lib/python2.7/site-packages/OpenSSL/crypto.py", line 651, in
__init__
    extension = _lib.X509V3_EXT_nconf(_ffi.NULL, ctx, type_name, value)
TypeError: initializer for ctype 'char *' must be a str or list or tuple, not
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

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


More information about the freebsd-ports-bugs mailing list