Failure of installing certbot-dns-cloudflare


#1

Hello, everyone.
I would like to install certbot-dns-cloudflare to automatically renew my wildcard certificates but I could not install it like the following. What should I do?

System: Debian 8.11 (64bit) Linux 2.6.32-042stab128.2
Hosting provider: Time4VPS

What I did do:

root@host:~# apt-get -y install python-pip
Reading package lists… Done

Processing triggers for python-support (1.0.15) …
root@host:~# pip install --upgrade setuptools
Downloading/unpacking setuptools from https://files.pythonhosted.org/packages/7f/e1/820d9411

Successfully installed setuptools
Cleaning up…
root@host:~# pip install --upgrade pip
Downloading/unpacking pip from https://files.pythonhosted.org/packages/0f/74/ecd13431b

Successfully installed pip
Cleaning up…
root@host:~# cd /usr/bin ; wget https://dl.eff.org/certbot-auto ; chmod a+x certbot-auto ; cd
converted ‘https://dl.eff.org/certbot-auto’ (ANSI_X3.4-1968) -> ‘https://dl.eff.org/certbot-auto’ (UTF-8)
–2018-07-01 16:39:21-- https://dl.eff.org/certbot-auto
Resolving dl.eff.org (dl.eff.org)… 2a04:4e42:14::201, 151.101.84.201
Connecting to dl.eff.org (dl.eff.org)|2a04:4e42:14::201|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 63234 (62K) [application/octet-stream]
Saving to: ‘certbot-auto’

certbot-auto 100%[=====================>] 61.75K --.-KB/s in 0.06s

2018-07-01 16:39:21 (1.06 MB/s) - ‘certbot-auto’ saved [63234/63234]

root@host:~# certbot-auto
Bootstrapping dependencies for Debian-based OSes… (you can skip this with --no-bootstrap)
Ign http://debian.mirror.serveriai.lt jessie InRelease
Hit http://debian.mirror.serveriai.lt jessie Release.gpg

Enter email address (used for urgent renewal and security notices) (Enter 'c' to cancel): c An e-mail address or --register-unsafely-without-email must be provided.

root@host:~# pip install certbot-dns-cloudflare
Downloading/unpacking certbot-dns-cloudflare
Downloading certbot_dns_cloudflare-0.25.1-py2.py3-none-any.whl
Downloading/unpacking cloudflare>=1.5.1 (from certbot-dns-cloudflare)
Downloading cloudflare-2.1.0.tar.gz (53kB): 53kB downloaded
Running setup.py (path:/tmp/pip-build-8XNd_g/cloudflare/setup.py) egg_info for package cloudflare
Downloading/unpacking certbot>=0.21.1 (from certbot-dns-cloudflare)
Downloading certbot-0.25.1-py2.py3-none-any.whl (293kB): 293kB downloaded
Downloading/unpacking mock (from certbot-dns-cloudflare)
Downloading mock-2.0.0-py2.py3-none-any.whl (56kB): 56kB downloaded
Downloading/unpacking zope.interface (from certbot-dns-cloudflare)
Downloading zope.interface-4.5.0.tar.gz (151kB): 151kB downloaded
Running setup.py (path:/tmp/pip-build-8XNd_g/zope.interface/setup.py) egg_info for package zope.interface
warning: no previously-included files matching ‘.dll’ found anywhere in distribution
warning: no previously-included files matching '
.pyc’ found anywhere in distribution
warning: no previously-included files matching ‘.pyo’ found anywhere in distribution
warning: no previously-included files matching '
.so’ found anywhere in distribution
warning: no previously-included files matching ‘coverage.xml’ found anywhere in distribution
warning: no previously-included files matching ‘appveyor.yml’ found anywhere in distribution
no previously-included directories found matching ‘docs/_build’
Downloading/unpacking acme>=0.21.1 (from certbot-dns-cloudflare)
Downloading acme-0.25.1-py2.py3-none-any.whl (77kB): 77kB downloaded
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/dist-packages (from certbot-dns-cloudflare)
Requirement already satisfied (use --upgrade to upgrade): requests in /usr/lib/python2.7/dist-packages (from cloudflare>=1.5.1->certbot-dns-cloudflare)
Downloading/unpacking future (from cloudflare>=1.5.1->certbot-dns-cloudflare)
Downloading future-0.16.0.tar.gz (824kB): 824kB downloaded
Running setup.py (path:/tmp/pip-build-8XNd_g/future/setup.py) egg_info for package future
warning: no files found matching ‘.au’ under directory ‘tests’
warning: no files found matching '
.gif’ under directory ‘tests’
warning: no files found matching ‘.txt’ under directory ‘tests’
Downloading/unpacking pyyaml (from cloudflare>=1.5.1->certbot-dns-cloudflare)
Downloading PyYAML-3.12.tar.gz (253kB): 253kB downloaded
Running setup.py (path:/tmp/pip-build-8XNd_g/pyyaml/setup.py) egg_info for package pyyaml
Downloading/unpacking jsonlines (from cloudflare>=1.5.1->certbot-dns-cloudflare)
Downloading jsonlines-1.2.0-py2.py3-none-any.whl
Downloading/unpacking pytz (from certbot>=0.21.1->certbot-dns-cloudflare)
Downloading pytz-2018.5-py2.py3-none-any.whl (510kB): 510kB downloaded
Downloading/unpacking zope.component (from certbot>=0.21.1->certbot-dns-cloudflare)
Downloading zope.component-4.4.1-py2.py3-none-any.whl (70kB): 70kB downloaded
Downloading/unpacking cryptography>=1.2 (from certbot>=0.21.1->certbot-dns-cloudflare)
Downloading cryptography-2.2.2.tar.gz (443kB): 443kB downloaded
Running setup.py (path:/tmp/pip-build-8XNd_g/cryptography/setup.py) egg_info for package cryptography
no previously-included directories found matching ‘docs/_build’
warning: no previously-included files matching '
’ found under directory ‘vectors’
Downloading/unpacking josepy (from certbot>=0.21.1->certbot-dns-cloudflare)
Downloading josepy-1.1.0-py2.py3-none-any.whl (53kB): 53kB downloaded
Downloading/unpacking configobj (from certbot>=0.21.1->certbot-dns-cloudflare)
Downloading configobj-5.0.6.tar.gz
Running setup.py (path:/tmp/pip-build-8XNd_g/configobj/setup.py) egg_info for package configobj
Downloading/unpacking ConfigArgParse>=0.9.3 (from certbot>=0.21.1->certbot-dns-cloudflare)
Downloading ConfigArgParse-0.13.0.tar.gz
Running setup.py (path:/tmp/pip-build-8XNd_g/ConfigArgParse/setup.py) egg_info for package ConfigArgParse
Downloading/unpacking pyrfc3339 (from certbot>=0.21.1->certbot-dns-cloudflare)
Downloading pyRFC3339-1.1-py2.py3-none-any.whl
Downloading/unpacking parsedatetime>=1.3 (from certbot>=0.21.1->certbot-dns-cloudflare)
Downloading parsedatetime-2.4-py2-none-any.whl (40kB): 40kB downloaded
Downloading/unpacking funcsigs>=1; python_version < “3.3” (from mock->certbot-dns-cloudflare)
Downloading funcsigs-1.0.2-py2.py3-none-any.whl
Downloading/unpacking six>=1.9 (from mock->certbot-dns-cloudflare)
Downloading six-1.11.0-py2.py3-none-any.whl
Downloading/unpacking pbr>=0.11 (from mock->certbot-dns-cloudflare)
Downloading pbr-4.0.4-py2.py3-none-any.whl (98kB): 98kB downloaded
Downloading/unpacking requests-toolbelt>=0.3.0 (from acme>=0.21.1->certbot-dns-cloudflare)
Downloading requests_toolbelt-0.8.0-py2.py3-none-any.whl (54kB): 54kB downloaded
Requirement already satisfied (use --upgrade to upgrade): PyOpenSSL>=0.13 in /usr/lib/python2.7/dist-packages (from acme>=0.21.1->certbot-dns-cloudflare)
Downloading/unpacking zope.event (from zope.component->certbot>=0.21.1->certbot-dns-cloudflare)
Downloading zope.event-4.3.0-py2.py3-none-any.whl
Downloading/unpacking idna>=2.1 (from cryptography>=1.2->certbot>=0.21.1->certbot-dns-cloudflare)
Downloading idna-2.7-py2.py3-none-any.whl (58kB): 58kB downloaded
Downloading/unpacking asn1crypto>=0.21.0 (from cryptography>=1.2->certbot>=0.21.1->certbot-dns-cloudflare)
Downloading asn1crypto-0.24.0-py2.py3-none-any.whl (101kB): 101kB downloaded
Installing collected packages: certbot-dns-cloudflare, cloudflare, certbot, mock, zope.interface, acme, future, pyyaml, jsonlines, pytz, zope.component, cryptography, josepy, configobj, ConfigArgParse, pyrfc3339, parsedatetime, funcsigs, six, pbr, requests-toolbelt, zope.event, idna, asn1crypto
Running setup.py install for cloudflare
Installing cli4 script to /usr/local/bin
Could not find .egg-info directory in install record for cloudflare>=1.5.1 (from certbot-dns-cloudflare)
Running setup.py install for zope.interface
warning: no previously-included files matching ‘.dll’ found anywhere in distribution
warning: no previously-included files matching '
.pyc’ found anywhere in distribution
warning: no previously-included files matching ‘.pyo’ found anywhere in distribution
warning: no previously-included files matching '
.so’ found anywhere in distribution
warning: no previously-included files matching ‘coverage.xml’ found anywhere in distribution
warning: no previously-included files matching ‘appveyor.yml’ found anywhere in distribution
no previously-included directories found matching ‘docs/_build’
building ‘zope.interface._zope_interface_coptimizations’ extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c src/zope/interface/_zope_interface_coptimizations.c -o build/temp.linux-x86_64-2.7/src/zope/interface/_zope_interface_coptimizations.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/src/zope/interface/_zope_interface_coptimizations.o -o build/lib.linux-x86_64-2.7/zope/interface/_zope_interface_coptimizations.so
Skipping installation of /usr/local/lib/python2.7/dist-packages/zope/init.py (namespace package)
Installing /usr/local/lib/python2.7/dist-packages/zope.interface-4.5.0-py2.7-nspkg.pth
Could not find .egg-info directory in install record for zope.interface (from certbot-dns-cloudflare)
Running setup.py install for future
warning: no files found matching ‘.au’ under directory ‘tests’
warning: no files found matching '
.gif’ under directory ‘tests’
warning: no files found matching ‘*.txt’ under directory ‘tests’
Installing pasteurize script to /usr/local/bin
Installing futurize script to /usr/local/bin
Could not find .egg-info directory in install record for future (from cloudflare>=1.5.1->certbot-dns-cloudflare)
Running setup.py install for pyyaml
checking if libyaml is compilable
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/check_libyaml.c -o build/temp.linux-x86_64-2.7/check_libyaml.o
build/temp.linux-x86_64-2.7/check_libyaml.c:2:18: fatal error: yaml.h: No such file or directory
#include <yaml.h>
^
compilation terminated.

libyaml is not found or a compiler error: forcing --without-libyaml
(if libyaml is installed correctly, you may need to
 specify the option --include-dirs or uncomment and
 modify the parameter include_dirs in setup.cfg)

Could not find .egg-info directory in install record for pyyaml (from cloudflare>=1.5.1->certbot-dns-cloudflare)
Found existing installation: cryptography 0.6.1
Not uninstalling cryptography at /usr/lib/python2.7/dist-packages, owned by OS
Running setup.py install for cryptography
no previously-included directories found matching ‘docs/_build’
warning: no previously-included files matching ‘’ found under directory ‘vectors’
generating cffi module ‘build/temp.linux-x86_64-2.7/_padding.c’
generating cffi module ‘build/temp.linux-x86_64-2.7/_constant_time.c’
generating cffi module ‘build/temp.linux-x86_64-2.7/_openssl.c’
building ‘_openssl’ extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o -Wconversion -Wno-error=sign-conversion
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘dev_urandom_read’:
build/temp.linux-x86_64-2.7/_openssl.c:1540:17: warning: conversion to ‘int’ from ‘ssize_t’ may alter its value [-Wconversion]
size -= n;
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘SSL_SESSION_get_master_key’:
build/temp.linux-x86_64-2.7/_openssl.c:2155:9: warning: conversion to ‘size_t’ from ‘int’ may change the sign of the result [-Wsign-conversion]
return session->master_key_length;
^
build/temp.linux-x86_64-2.7/_openssl.c:2157:18: warning: conversion to ‘size_t’ from ‘int’ may change the sign of the result [-Wsign-conversion]
outlen = session->master_key_length;
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_setup_ssl_threads’:
build/temp.linux-x86_64-2.7/_openssl.c:2615:28: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion]
_ssl_locks_count = CRYPTO_num_locks();
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘Cryptography_pem_password_cb’:
build/temp.linux-x86_64-2.7/_openssl.c:2648:35: warning: conversion to ‘size_t’ from ‘int’ may change the sign of the result [-Wsign-conversion]
memcpy(buf, st->password, st->length);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_CTX_add_extra_chain_cert’:
build/temp.linux-x86_64-2.7/_openssl.c:46134:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_add_extra_chain_cert(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_CTX_add_extra_chain_cert’:
build/temp.linux-x86_64-2.7/_openssl.c:46174:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_CTX_add_extra_chain_cert(x0, x1); }
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_CTX_clear_options’:
build/temp.linux-x86_64-2.7/_openssl.c:46223:10: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_clear_options(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c:46223:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_clear_options(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_CTX_clear_options’:
build/temp.linux-x86_64-2.7/_openssl.c:46256:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_CTX_clear_options(x0, x1); }
^
build/temp.linux-x86_64-2.7/_openssl.c:46256:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_CTX_get_mode’:
build/temp.linux-x86_64-2.7/_openssl.c:46508:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_get_mode(x0);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_CTX_get_mode’:
build/temp.linux-x86_64-2.7/_openssl.c:46531:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_CTX_get_mode(x0); }
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_CTX_get_options’:
build/temp.linux-x86_64-2.7/_openssl.c:46544:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_get_options(x0);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_CTX_get_options’:
build/temp.linux-x86_64-2.7/_openssl.c:46567:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_CTX_get_options(x0); }
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_CTX_get_session_cache_mode’:
build/temp.linux-x86_64-2.7/_openssl.c:46616:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_get_session_cache_mode(x0);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_CTX_get_session_cache_mode’:
build/temp.linux-x86_64-2.7/_openssl.c:46639:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_CTX_get_session_cache_mode(x0); }
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_cookie_verify_cb’:
build/temp.linux-x86_64-2.7/_openssl.c:47913:36: warning: passing argument 2 of ‘SSL_CTX_set_cookie_verify_cb’ from incompatible pointer type
SSL_CTX_set_cookie_verify_cb(x0, x1);
^
In file included from build/temp.linux-x86_64-2.7/_openssl.c:712:0:
/usr/include/openssl/ssl.h:1127:6: note: expected 'int (
)(struct SSL *, unsigned char , unsigned int)’ but argument is of type 'int ()(struct SSL *, const unsigned char *, unsigned int)’
void SSL_CTX_set_cookie_verify_cb(SSL_CTX ctx,
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_cookie_verify_cb’:
build/temp.linux-x86_64-2.7/_openssl.c:47945:38: warning: passing argument 2 of ‘SSL_CTX_set_cookie_verify_cb’ from incompatible pointer type
{ SSL_CTX_set_cookie_verify_cb(x0, x1); }
^
In file included from build/temp.linux-x86_64-2.7/_openssl.c:712:0:
/usr/include/openssl/ssl.h:1127:6: note: expected 'int (
)(struct SSL *, unsigned char , unsigned int)’ but argument is of type 'int ()(struct SSL *, const unsigned char *, unsigned int)’
void SSL_CTX_set_cookie_verify_cb(SSL_CTX ctx,
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_mode’:
build/temp.linux-x86_64-2.7/_openssl.c:48245:10: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_set_mode(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c:48245:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_set_mode(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_mode’:
build/temp.linux-x86_64-2.7/_openssl.c:48278:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_CTX_set_mode(x0, x1); }
^
build/temp.linux-x86_64-2.7/_openssl.c:48278:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_options’:
build/temp.linux-x86_64-2.7/_openssl.c:48409:10: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_set_options(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c:48409:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_set_options(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_options’:
build/temp.linux-x86_64-2.7/_openssl.c:48442:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_CTX_set_options(x0, x1); }
^
build/temp.linux-x86_64-2.7/_openssl.c:48442:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_psk_server_callback’:
build/temp.linux-x86_64-2.7/_openssl.c:48501:39: warning: passing argument 2 of ‘SSL_CTX_set_psk_server_callback’ from incompatible pointer type
SSL_CTX_set_psk_server_callback(x0, x1);
^
In file included from build/temp.linux-x86_64-2.7/_openssl.c:712:0:
/usr/include/openssl/ssl.h:1201:6: note: expected 'unsigned int (
)(struct SSL *, const char *, unsigned char , unsigned int)’ but argument is of type 'unsigned int ()(struct SSL *, const char *, unsigned char *, int)’
void SSL_CTX_set_psk_server_callback(SSL_CTX ctx,
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_psk_server_callback’:
build/temp.linux-x86_64-2.7/_openssl.c:48533:41: warning: passing argument 2 of ‘SSL_CTX_set_psk_server_callback’ from incompatible pointer type
{ SSL_CTX_set_psk_server_callback(x0, x1); }
^
In file included from build/temp.linux-x86_64-2.7/_openssl.c:712:0:
/usr/include/openssl/ssl.h:1201:6: note: expected 'unsigned int (
)(struct SSL *, const char *, unsigned char , unsigned int)’ but argument is of type 'unsigned int ()(struct SSL *, const char *, unsigned char *, int)’
void SSL_CTX_set_psk_server_callback(SSL_CTX *ctx,
^
In file included from build/temp.linux-x86_64-2.7/_openssl.c:712:0:
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_session_cache_mode’:
build/temp.linux-x86_64-2.7/_openssl.c:48593:45: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_set_session_cache_mode(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c:48593:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_set_session_cache_mode(x0, x1);
^
In file included from build/temp.linux-x86_64-2.7/_openssl.c:712:0:
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_session_cache_mode’:
build/temp.linux-x86_64-2.7/_openssl.c:48626:49: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_CTX_set_session_cache_mode(x0, x1); }
^
build/temp.linux-x86_64-2.7/_openssl.c:48626:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_CTX_set_session_cache_mode(x0, x1); }
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_tmp_dh’:
build/temp.linux-x86_64-2.7/_openssl.c:48995:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_set_tmp_dh(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_tmp_dh’:
build/temp.linux-x86_64-2.7/_openssl.c:49035:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_CTX_set_tmp_dh(x0, x1); }
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_CTX_set_tmp_ecdh’:
build/temp.linux-x86_64-2.7/_openssl.c:49048:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_CTX_set_tmp_ecdh(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_CTX_set_tmp_ecdh’:
build/temp.linux-x86_64-2.7/_openssl.c:49088:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_CTX_set_tmp_ecdh(x0, x1); }
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_get_mode’:
build/temp.linux-x86_64-2.7/_openssl.c:50981:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_get_mode(x0);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_get_mode’:
build/temp.linux-x86_64-2.7/_openssl.c:51004:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_get_mode(x0); }
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_get_options’:
build/temp.linux-x86_64-2.7/_openssl.c:51017:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_get_options(x0);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_get_options’:
build/temp.linux-x86_64-2.7/_openssl.c:51040:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_get_options(x0); }
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_set_mode’:
build/temp.linux-x86_64-2.7/_openssl.c:52816:10: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
return SSL_set_mode(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c:52816:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_set_mode(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_set_mode’:
build/temp.linux-x86_64-2.7/_openssl.c:52849:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_set_mode(x0, x1); }
^
build/temp.linux-x86_64-2.7/_openssl.c:52849:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_d_SSL_set_options’:
build/temp.linux-x86_64-2.7/_openssl.c:52862:10: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
return SSL_set_options(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c:52862:3: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
return SSL_set_options(x0, x1);
^
build/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_set_options’:
build/temp.linux-x86_64-2.7/_openssl.c:52895:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion]
{ result = SSL_set_options(x0, x1); }
^
build/temp.linux-x86_64-2.7/_openssl.c:52895:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion]
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o -lssl -lcrypto -o build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/_openssl.so
building ‘_constant_time’ extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/_constant_time.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_constant_time.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_constant_time.o -o build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/_constant_time.so
building ‘_padding’ extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/_padding.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_padding.o
x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_padding.o -o build/lib.linux-x86_64-2.7/cryptography/hazmat/bindings/_padding.so
Could not find .egg-info directory in install record for cryptography>=1.2 (from certbot>=0.21.1->certbot-dns-cloudflare)
Running setup.py install for configobj
Could not find .egg-info directory in install record for configobj (from certbot>=0.21.1->certbot-dns-cloudflare)
Running setup.py install for ConfigArgParse
Could not find .egg-info directory in install record for ConfigArgParse>=0.9.3 (from certbot>=0.21.1->certbot-dns-cloudflare)
Found existing installation: six 1.8.0
Not uninstalling six at /usr/lib/python2.7/dist-packages, owned by OS
Successfully installed certbot-dns-cloudflare cloudflare certbot mock zope.interface acme future pyyaml jsonlines pytz zope.component cryptography josepy configobj ConfigArgParse pyrfc3339 parsedatetime funcsigs six pbr requests-toolbelt zope.event idna asn1crypto
Cleaning up…

root@host:~# certbot-auto --version
certbot 0.25.1

root@host:~# certbot-auto plugins
Saving debug log to /var/log/letsencrypt/letsencrypt.log


  • apache
    Description: Apache Web Server plugin - Beta
    Interfaces: IAuthenticator, IInstaller, IPlugin
    Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT

  • nginx
    Description: Nginx Web Server plugin - Alpha
    Interfaces: IAuthenticator, IInstaller, IPlugin
    Entry point: nginx = certbot_nginx.configurator:NginxConfigurator

  • standalone
    Description: Spin up a temporary webserver
    Interfaces: IAuthenticator, IPlugin
    Entry point: standalone = certbot.plugins.standalone:Authenticator

  • webroot
    Description: Place files in webroot directory
    Interfaces: IAuthenticator, IPlugin
    Entry point: webroot = certbot.plugins.webroot:Authenticator


root@host:~#


#2

Maybe try

apt-get -y install libyaml-dev

and try again.

That’s the only actual error I see in the log.

If you want to use certbot-auto, then you should probably install the plugin into the certbot-auto venv. As root:

source /opt/eff.org/certbot/venv/bin/activate
pip install certbot-dns-cloudflare
deactivate

#3

Hello _az,

certbot-dns-cloudflare was installed without problem by the following commands as you said.

apt-get -y install python-pip
pip install --upgrade setuptools
pip install --upgrade pip
apt-get -y install libyaml-dev
cd /usr/bin ; wget https://dl.eff.org/certbot-auto ; chmod a+x certbot-auto ; cdcertbot-auto
source /opt/eff.org/certbot/venv/bin/activate
pip install certbot-dns-cloudflare
deactivate

root@host:~# certbot-auto plugins
Saving debug log to /var/log/letsencrypt/letsencrypt.log


  • apache
    Description: Apache Web Server plugin - Beta
    Interfaces: IAuthenticator, IInstaller, IPlugin
    Entry point: apache = certbot_apache.entrypoint:ENTRYPOINT

  • dns-cloudflare
    Description: Obtain certificates using a DNS TXT record (if you are using
    Cloudflare for DNS).
    Interfaces: IAuthenticator, IPlugin
    Entry point: dns-cloudflare =
    certbot_dns_cloudflare.dns_cloudflare:Authenticator

  • nginx
    Description: Nginx Web Server plugin - Alpha
    Interfaces: IAuthenticator, IInstaller, IPlugin
    Entry point: nginx = certbot_nginx.configurator:NginxConfigurator

  • standalone
    Description: Spin up a temporary webserver
    Interfaces: IAuthenticator, IPlugin
    Entry point: standalone = certbot.plugins.standalone:Authenticator

  • webroot
    Description: Place files in webroot directory
    Interfaces: IAuthenticator, IPlugin
    Entry point: webroot = certbot.plugins.webroot:Authenticator


root@host:~#

Thanks for your help.
I tried not certbot-auto but certbot but certbot in Debian 8 was old version and still incompatible with wildcard.


#4

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