Hello folks,
I'm trying to run security/py-certbot on a FreeBSD 10.3 stable jail. When I try to launch it I get the following messages:
However, running
I'm a bit lost here - apparently python is accessing a different version of OpenSSL from somewhere.
I'd be thankful for any kind of guidance, tips & help in general to resolve this issue.
I'm trying to run security/py-certbot on a FreeBSD 10.3 stable jail. When I try to launch it I get the following messages:
Code:
root@nope:~ # certbot
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 11, in <module>
load_entry_point('certbot==0.9.3', 'console_scripts', 'certbot')()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 567, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2604, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2264, in load
return self.resolve()
File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2270, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python2.7/site-packages/certbot/main.py", line 14, in <module>
from acme import jose
File "/usr/local/lib/python2.7/site-packages/acme/jose/__init__.py", line 37, in <module>
from acme.jose.interfaces import JSONDeSerializable
File "/usr/local/lib/python2.7/site-packages/acme/jose/interfaces.py", line 9, in <module>
from acme.jose import util
File "/usr/local/lib/python2.7/site-packages/acme/jose/util.py", line 5, in <module>
import OpenSSL
File "/usr/local/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/local/lib/python2.7/site-packages/OpenSSL/rand.py", line 12, in <module>
from OpenSSL._util import (
File "/usr/local/lib/python2.7/site-packages/OpenSSL/_util.py", line 6, in <module>
from cryptography.hazmat.bindings.openssl.binding import Binding
File "/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 250, in <module>
_verify_openssl_version(Binding.lib.SSLeay())
File "/usr/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/binding.py", line 230, in _verify_openssl_version
"You are linking against OpenSSL 0.9.8, which is no longer "
RuntimeError: You are linking against OpenSSL 0.9.8, which is no longer support by the OpenSSL project. You need to upgrade to a newer version of OpenSSL.
pkg info
I can see that I am running OpenSSL version 1.0.2j_1,1:
Code:
root@nope:~ # pkg info openssl
openssl-1.0.2j_1,1
Name : openssl
Version : 1.0.2j_1,1
Installed on : Fri Nov 11 20:13:52 2016 CET
Origin : security/openssl
Architecture : freebsd:9:x86:64
Prefix : /usr/local
Categories : security devel
Licenses : OpenSSL
Maintainer : brnrd@FreeBSD.org
WWW : http://www.openssl.org/
Comment : SSL and crypto library
I'd be thankful for any kind of guidance, tips & help in general to resolve this issue.