Problème avec Python pour génération des certificats SSL

Bonjour, je souhaite générer un certificat SSL avec cette commande et j’obtiens une erreur que je n’obtenais pas avant. Possible de m’aider ? Voilà :

root@monvps:~/letsencrypt# ./letsencrypt-auto --server certonly

Bootstrapping dependencies for Debian-based OSes… (you can skip this with --no-bootstrap)

Get:1 bionic-security InRelease [88.7 kB]

Hit:2 bionic InRelease

Hit:3 bionic-updates InRelease

Get:4 bionic-backports InRelease [74.6 kB]

Fetched 163 kB in 1s (224 kB/s)

Reading package lists… Done

Reading package lists… Done

Building dependency tree

Reading state information… Done

augeas-lenses is already the newest version (1.10.1-2).

ca-certificates is already the newest version (20180409).

libaugeas0 is already the newest version (1.10.1-2).

libffi-dev is already the newest version (3.2.1-8).

python is already the newest version (2.7.15~rc1-1).

python-dev is already the newest version (2.7.15~rc1-1).

python-virtualenv is already the newest version (15.1.0+ds-1.1).

virtualenv is already the newest version (15.1.0+ds-1.1).

gcc is already the newest version (4:7.3.0-3ubuntu2.1).

libssl-dev is already the newest version (1.1.0g-2ubuntu4.3).

openssl is already the newest version (1.1.0g-2ubuntu4.3).

0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

Creating virtual environment…

Installing Python packages…

Command “/opt/ -u -c “import setuptools, tokenize;file=’/tmp/pip-cBRGcn-build/’;f=getattr(tokenize, ‘open’, open)(file);’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record /tmp/pip-_oZaDU-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/” failed with error code 1 in /tmp/pip-cBRGcn-build/

Traceback (most recent call last):

File “/tmp/tmp.DRREEk5vx3/”, line 177, in <module>


File “/tmp/tmp.DRREEk5vx3/”, line 164, in main


File “/usr/lib/python2.7/”, line 223, in check_output

raise CalledProcessError(retcode, cmd, output=output)

subprocess.CalledProcessError: Command ‘pip install --no-index --no-deps -U --no-cache-dir /tmp/pipstrap-TbObV3/pip-9.0.1.tar.gz /tmp/pipstrap-TbObV3/setuptools-29.0.1.tar.gz /tmp/pipstrap-TbObV3/wheel-0.29.0.tar.gz’ returned non-zero exit status 1

Merci !

Is there a reason you’re trying to use that particular command? I don’t know why it’s not working, but you might have better luck by following the instructions on

(traduction de Google)

Y a-t-il une raison pour laquelle vous essayez d’utiliser cette commande particulière? Je ne sais pas pourquoi cela ne fonctionne pas, mais vous pourriez avoir plus de chance en suivant les instructions sur

1 Like

This should be fixed in the next version of Certbot.


Hello, thank you for answering me. I just reinstalled and I still have the same problem. So I have to wait for the new version? nothing to do to solve this problem? Thank you.

Version 0.30.2 has now been released.


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