Error : "X509_get_signature_nid" From Python for generate certificate


I’m French ( Sorry for my bad English ).

My domain is:

I ran this command: /opt/letsencrypt/letsencrypt-auto --apache -d -d

It produced this output:

Creating virtual environment…
Installing Python packages…
Installation succeeded.
Traceback (most recent call last):
File “/root/.local/share/letsencrypt/bin/letsencrypt”, line 7, in
from certbot.main import main
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/certbot/”, line 14, in
from acme import jose
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/jose/”, line 37, in
from acme.jose.interfaces import JSONDeSerializable
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/jose/”, line 9, in
from acme.jose import util
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/jose/”, line 5, in
import OpenSSL
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/OpenSSL/”, line 8, in
from OpenSSL import rand, crypto, SSL
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/OpenSSL/”, line 12, in
from OpenSSL._util import (
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/OpenSSL/”, line 6, in
from cryptography.hazmat.bindings.openssl.binding import Binding
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/”, line 15, in
from cryptography.hazmat.bindings._openssl import ffi, lib
ImportError: /root/.local/share/letsencrypt/local/lib/python2.7/site-packages/cryptography/hazmat/bindings/ undefined symbol: X509_get_signature_nid

My operating system is (include version): KDE SC ( 4.13.2 ) - Linux 3.13.0-105-generic

My web server is (include version): Apache2 ( 2.4.7-1ubuntu4.13 )

My hosting provider, if applicable, is: Ovh

I can login to a root shell on my machine (yes or no, or I don’t know): Yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No

Thank you for your help ! :slight_smile:


You don’t have a idea ? :-/

What version of openssl do you have - is that a recent version ?

It’s not a specific error I’ve seen, sorry. If it’s not the version of key components like openssl, I can only suggest trying one of the alternate clients which has less dependencies.

Hopefully someone else has an idea of the issue, although your post was asked a while ago without response, sorry.

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