Certbot won't launch in El Capitan

I installed brew following the directions on their home page. Then I installed certbot.

certbot crashes, with or without any parameters (e.g. certbot --help crashes). I tried three different El Capitan installs, one was clean installed after the first certbot crash to be sure there was a clean slate. All have the latest updates.

The beginning of the error in Terminal is:
Traceback (most recent call last):
File “/usr/local/bin/certbot”, line 11, in
load_entry_point(‘certbot==0.10.0’, ‘console_scripts’, ‘certbot’)()
File “/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/pkg_resources/init.py”, line 561, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)

Is this a certbot problem or a brew problem?

Never mind. I saw the 6 hour old Git release of 0.10.1 & used pip to install it. All is working!

Many thanks to the community for certbot & Let’s Encrypt.

2 Likes

This traceback looks truncated - can you provide the full traceback?

Historically we used to have some issues running on OS X. I’m not sure if those have been resolved, but a look at the traceback may help evaluate.

We must have posted at nearly the same time. Updating to 0.10.1 cured it for me.

Here’s the complete traceback:

certbot --help
Traceback (most recent call last):
  File "/usr/local/bin/certbot", line 11, in <module>
    load_entry_point('certbot==0.10.0', 'console_scripts', 'certbot')()
  File "/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/pkg_resources/__init__.py", line 561, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
    return ep.load()
  File "/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2291, in load
    return self.resolve()
  File "/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2297, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/certbot/main.py", line 13, in <module>
    from acme import jose
  File "/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/acme/jose/__init__.py", line 37, in <module>
    from acme.jose.interfaces import JSONDeSerializable
  File "/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/acme/jose/interfaces.py", line 9, in <module>
    from acme.jose import util
  File "/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/acme/jose/util.py", line 5, in <module>
    import OpenSSL
  File "/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import rand, crypto, SSL
  File "/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/OpenSSL/rand.py", line 12, in <module>
    from OpenSSL._util import (
  File "/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/OpenSSL/_util.py", line 6, in <module>
    from cryptography.hazmat.bindings.openssl.binding import Binding
  File "/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 14, in <module>
    from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: dlopen(/usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so, 2): Symbol not found: _getentropy
  Referenced from: /usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so
  Expected in: /usr/lib/libSystem.B.dylib
 in /usr/local/Cellar/certbot/0.10.0/libexec/lib/python2.7/site-packages/cryptography/hazmat/bindings/_openssl.so
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.