Comme annoncé, ce forum est passé en lecture seule au 1er janvier 2020. Désormais nous vous invitons à vous rendre sur notre nouvelle page communauté :
Image

A très bientôt !

https Certbot has problem setting up the virtual environment [Résolu]

De l'installation à l'utilisation venez discuter de JEEDOM au quotidien
glooobule
Helper
Messages : 33
Inscription : 28 avr. 2017, 16:30

https Certbot has problem setting up the virtual environment [Résolu]

Message par glooobule » 04 avr. 2019, 18:47

Bonjour à tous !

Suis embêter avec mon certificat SSL. J'ai beau suivre des tutos etc, j'arrive pas à m'en sortir.
En clair j'arrive toujours à ce problème au moment de créer le certificat, c'est que Certbot m'insulte en me disant ceci : "Certbot has problem setting up the virtual environment"

Si quelqu'un à une idée je suis preneur.

Suis sur raspbery pi 3 avec Raspbian 9.8 stretch

Je demande pas a ce qu'on me donne la solution, mais si quelqu'un peut m'aiguiller j'en serais très reconnaissant.
Dernière édition par glooobule le 06 avr. 2019, 04:34, édité 1 fois.
Helper Officiel Jeedom

glooobule
Helper
Messages : 33
Inscription : 28 avr. 2017, 16:30

Re: https Certbot has problem setting up the virtual environment

Message par glooobule » 05 avr. 2019, 10:44

Ou alors si quelqu'un qui utilise un raspbery pi 3 avec https peut il m'indiquer sa configuration ? quel os et la façon dont il a procédé pour avoir un certificat ?

Merci à vous ! Je patiente ;)
Helper Officiel Jeedom

glooobule
Helper
Messages : 33
Inscription : 28 avr. 2017, 16:30

Re: https Certbot has problem setting up the virtual environment

Message par glooobule » 05 avr. 2019, 17:19

Bon, me suis installé un rpi de test, installation neuve toute propre etc ... même combat. Même en utilisant les commandes de la documentation, la même erreur : Certbot gnagnagna virtual environment ...
Helper Officiel Jeedom

Avatar de l’utilisateur
Salvialf
Helper
Messages : 1334
Inscription : 24 févr. 2018, 09:37
Contact :

Re: https Certbot has problem setting up the virtual environment

Message par Salvialf » 05 avr. 2019, 18:06

Bonjour,

Il manque trop d'infos pour être en mesure de t'aider comme les ports ouverts et redirigés, les commandes saisies ou le message d'erreur complet par exemple...

Cependant une simple recherche Google avec ton erreur donne déjà de bonnes pistes comme un swap trop petit, problème mémoire ou sd ou encore problème avec le package pip (ou sa version)
VM Jeedom 3.2.16 sous Proxmox 5.4 sur NUC5i5RYH (Debian 9.9)
Helper Officiel Jeedom
Widgets développés
Téléchargement d'icônes domotique (Topic Forum)

glooobule
Helper
Messages : 33
Inscription : 28 avr. 2017, 16:30

Re: https Certbot has problem setting up the virtual environment

Message par glooobule » 05 avr. 2019, 18:59

Merci pour ta réponse, je ne souhaitais pas pourrir le forum avec des logs bien long. En l'occurence c'est pas sur SD mais sur SSD. Y a pas de soucis de swap car c'est pas ce qu'indique les erreurs. Erreur de PIP bingo, maintenant faut le résoudre. Backports installés. Je vais te faire une copie des logs des fois que ça te parle plus qu'a moi. Les ports j'en suis arrivé à mettre sur dmz, mais de toute façon après je suis en dyndns OVH car connexion ADSL orange et donc IP dynamique. Pour le moment c'est pas bien grave puisque pas jeedom de prod. Mais ca bloque avant ces histoire de ports puisque Certbot n'arrive meme pas a créer le certif :'(
Helper Officiel Jeedom

Avatar de l’utilisateur
Salvialf
Helper
Messages : 1334
Inscription : 24 févr. 2018, 09:37
Contact :

Re: https Certbot has problem setting up the virtual environment

Message par Salvialf » 06 avr. 2019, 01:48

Oui désolé d'avoir fait large dans le champs des problèmes possibles mais avec juste le nom de l'erreur j'ai préféré ratisser large. Pis j'étais au parc de jeux avec mes enfants donc en speed.

Pour les logs si tu les mets entre balise [/code] ça sera lisible sur le forum.

Enfin pour pip je crois que souvent c'est du à un problème de version peut-être à cause de celle dont jeedom a besoin donc fait attention à bien te documenter avant de tenter quoi que ce soit. De mémoire et en théorie car je n'en ai jamais eu besoin je crois avoir lu qu'il y a 1 ou 2 commandes à tester qui ressemblent à un truc du genre 'xxxxx pip--update' ... juste pour te donner une piste et sans conviction à nouveau.
VM Jeedom 3.2.16 sous Proxmox 5.4 sur NUC5i5RYH (Debian 9.9)
Helper Officiel Jeedom
Widgets développés
Téléchargement d'icônes domotique (Topic Forum)

glooobule
Helper
Messages : 33
Inscription : 28 avr. 2017, 16:30

Re: https Certbot has problem setting up the virtual environment

Message par glooobule » 06 avr. 2019, 03:05

Y a pas de mal ! Je suis plutot content que tu me donnes des pistes puisque j'ai demandé :)
Alors ma config : Livebox Orange ADSL, ip Dynamique, ouverture des ports DMZ pour mon Jeedom de Test sur raspberry pi3. Installation effectué sur SSD Usb, OS Raspbian 9.8 stretch toute neuve.
J'utilise cette documentation : https://jeedom.github.io/documentation/ ... e_en_place

Je lance la commande :

Code : Tout sélectionner

/opt/letsencrypt/letsencrypt-auto --apache --email email@domaine.com -d domaine.com
Bien entendu je change domaine.com par mes noms de domaine :)

Résultat :

Code : Tout sélectionner

pi@raspberrypi:/opt/letsencrypt $ sudo ./letsencrypt-auto --apache --email ********@****.com -d *******.ovh -d ********.ovh                                                                                                                                                
Bootstrapping dependencies for Debian-based OSes... (you can skip this with --no-bootstrap)
Hit:1 http://archive.raspberrypi.org/debian stretch InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
augeas-lenses is already the newest version (1.8.0-1+deb9u1).
ca-certificates is already the newest version (20161130+nmu1+deb9u1).
gcc is already the newest version (4:6.3.0-4).
libaugeas0 is already the newest version (1.8.0-1+deb9u1).
libffi-dev is already the newest version (3.2.1-6).
libssl-dev is already the newest version (1.1.0j-1~deb9u1).
openssl is already the newest version (1.1.0j-1~deb9u1).
python is already the newest version (2.7.13-2).
python-dev is already the newest version (2.7.13-2).
python-virtualenv is already the newest version (15.1.0+ds-1).
virtualenv is already the newest version (15.1.0+ds-1).
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
Creating virtual environment...
Installing Python packages...
Had a problem while installing Python packages.

pip prints the following errors:
=====================================================
Collecting ConfigArgParse==0.14.0 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 7))
  Downloading https://files.pythonhosted.org/packages/55/ea/f0ade52790bcd687127a302b26c1663bf2e0f23210d5281dbfcd1dfcda28/ConfigArgParse-0.14.0.tar.gz
Collecting asn1crypto==0.24.0 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 9))
  Downloading https://files.pythonhosted.org/packages/ea/cd/35485615f45f30a510576f1a56d1e0a7ad7bd8ab5ed7cdc600ef7cd06222/asn1crypto-0.24.0-py2.py3-none-any.whl (101kB)
Collecting certifi==2019.3.9 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 12))
  Downloading https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl (158kB)
Collecting cffi==1.12.2 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 15))
  Downloading https://files.pythonhosted.org/packages/64/7c/27367b38e6cc3e1f49f193deb761fe75cda9f95da37b67b422e62281fcac/cffi-1.12.2.tar.gz (453kB)
Collecting chardet==3.0.4 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 44))
  Downloading https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl (133kB)
Collecting configobj==5.0.6 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 47))
  Downloading https://files.pythonhosted.org/packages/64/61/079eb60459c44929e684fa7d9e2fdca403f67d64dd9dbac27296be2e0fab/configobj-5.0.6.tar.gz
Collecting cryptography==2.6.1 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 49))
  Downloading https://files.pythonhosted.org/packages/07/ca/bc827c5e55918ad223d59d299fff92f3563476c3b00d0a9157d9c0217449/cryptography-2.6.1.tar.gz (491kB)
Collecting enum34==1.1.6 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 71))
  Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl
Collecting funcsigs==1.0.2 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 76))
  Downloading https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl
Collecting future==0.17.1 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 79))
  Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
Collecting idna==2.8 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 81))
  Downloading https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl (58kB)
Collecting ipaddress==1.0.22 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 84))
  Downloading https://files.pythonhosted.org/packages/fc/d0/7fc3a811e011d4b388be48a0e381db8d990042df54aa4ef4599a31d39853/ipaddress-1.0.22-py2.py3-none-any.whl
Collecting josepy==1.1.0 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 87))
  Downloading https://files.pythonhosted.org/packages/23/46/30ac29742b03be92e05d1fd9048df6f0902bb0b3b042a7ea76a2b3c30f7e/josepy-1.1.0-py2.py3-none-any.whl (53kB)
Collecting mock==1.3.0 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 90))
  Downloading https://files.pythonhosted.org/packages/b2/50/664a70b87408bb6c14c1af2337efa64eb8d1af80c933531758b8fb41ec25/mock-1.3.0-py2.py3-none-any.whl (56kB)
Collecting parsedatetime==2.4 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 93))
  Downloading https://files.pythonhosted.org/packages/1d/48/ac8d4c6239437592852e951bcb9438dc585f80c29777c391aef69c67dc79/parsedatetime-2.4-py2-none-any.whl (40kB)
Collecting pbr==5.1.3 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 96))
  Downloading https://files.pythonhosted.org/packages/14/09/12fe9a14237a6b7e0ba3a8d6fcf254bf4b10ec56a0185f73d651145e9222/pbr-5.1.3-py2.py3-none-any.whl (107kB)
Collecting pyOpenSSL==19.0.0 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 99))
  Downloading https://files.pythonhosted.org/packages/01/c8/ceb170d81bd3941cbeb9940fc6cc2ef2ca4288d0ca8929ea4db5905d904d/pyOpenSSL-19.0.0-py2.py3-none-any.whl (53kB)
Collecting pyRFC3339==1.1 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 102))
  Downloading https://files.pythonhosted.org/packages/c1/7a/725f5c16756ec6211b1e7eeac09f469084595513917ea069bc023c40a5e2/pyRFC3339-1.1-py2.py3-none-any.whl
Collecting pycparser==2.19 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 105))
  Downloading https://www.piwheels.org/simple/pycparser/pycparser-2.19-py2.py3-none-any.whl (111kB)
Collecting pyparsing==2.3.1 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 107))
  Downloading https://files.pythonhosted.org/packages/de/0a/001be530836743d8be6c2d85069f46fecf84ac6c18c7f5fb8125ee11d854/pyparsing-2.3.1-py2.py3-none-any.whl (61kB)
Collecting python-augeas==0.5.0 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 110))
  Downloading https://files.pythonhosted.org/packages/41/e6/4b6740cb3e31b82252099994cea751c648b846aa7874343c31d68c2215be/python-augeas-0.5.0.tar.gz (90kB)
Collecting pytz==2018.9 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 112))
  Downloading https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.9-py2.py3-none-any.whl (510kB)
Collecting requests==2.21.0 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 115))
  Downloading https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl (57kB)
Collecting requests-toolbelt==0.9.1 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 118))
  Downloading https://files.pythonhosted.org/packages/60/ef/7681134338fc097acef8d9b2f8abe0458e4d87559c689a8c306d0957ece5/requests_toolbelt-0.9.1-py2.py3-none-any.whl (54kB)
Collecting six==1.12.0 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 121))
  Downloading https://files.pythonhosted.org/packages/73/fb/00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9/six-1.12.0-py2.py3-none-any.whl
Collecting urllib3==1.24.1 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 124))
  Downloading https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl (118kB)
Collecting zope.component==4.5 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 127))
  Downloading https://files.pythonhosted.org/packages/97/e2/c785df1171f277ea93cc16bdcc112cb3ddfde1aeefbc401d46c49727f472/zope.component-4.5-py2.py3-none-any.whl (70kB)
Collecting zope.deferredimport==4.3 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 130))
  Downloading https://files.pythonhosted.org/packages/62/d2/e03e4b0c9103817e19d1ea577c1f7fb9b67e4c0397ca5127d377e1eafe0c/zope.deferredimport-4.3-py2.py3-none-any.whl
Collecting zope.deprecation==4.4.0 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 133))
  Downloading https://files.pythonhosted.org/packages/f9/26/b935bbf9d27e898b87d80e7873a0200cebf239253d0afe7a59f82fe90fff/zope.deprecation-4.4.0-py2.py3-none-any.whl
Collecting zope.event==4.4 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 136))
  Downloading https://files.pythonhosted.org/packages/c5/96/361edb421a077a4c208b4a5c212737d78ae03ce67fbbcd01621c49f332d1/zope.event-4.4-py2.py3-none-any.whl
Collecting zope.hookable==4.2.0 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 139))
  Downloading https://files.pythonhosted.org/packages/41/b5/378175b959565de41f45c775cdfbf8897aaeaf29a258b94e40bd2661ce46/zope.hookable-4.2.0.tar.gz
Collecting zope.interface==4.6.0 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 150))
  Downloading https://files.pythonhosted.org/packages/4e/d0/c9d16bd5b38de44a20c6dc5d5ed80a49626fafcb3db9f9efdc2a19026db6/zope.interface-4.6.0.tar.gz (150kB)
Collecting zope.proxy==4.3.1 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 180))
  Downloading https://files.pythonhosted.org/packages/7c/f5/e9ed65cdf8c93d24d7512ef89e21b241bc9ae75d90bc8608cc142f4c26f9/zope.proxy-4.3.1.tar.gz (43kB)
Collecting letsencrypt==0.7.0 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 200))
  Downloading https://files.pythonhosted.org/packages/fd/21/0c6f33829fadec8aca0c1ebb4d6f8101c05899356a58d1b2e506cb77cf18/letsencrypt-0.7.0-py2-none-any.whl
Collecting certbot==0.33.1 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 204))
  Downloading https://files.pythonhosted.org/packages/a3/d5/3448147adb35a0dfb09d03ebf71bce38db9ce3614e2ba82e0107067876d8/certbot-0.33.1-py2.py3-none-any.whl (324kB)
Collecting acme==0.33.1 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 207))
  Downloading https://files.pythonhosted.org/packages/14/35/bb580ff724f0d6f1b05a682c5d6fc61b44ce28369cd43e74e33ab5f53140/acme-0.33.1-py2.py3-none-any.whl (86kB)
Collecting certbot-apache==0.33.1 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 210))
  Downloading https://files.pythonhosted.org/packages/c7/b2/3c43e9bc3d171e5adf791d3157722551cdbe1e4cd5db7d62cffd922cc297/certbot_apache-0.33.1-py2.py3-none-any.whl (249kB)
Collecting certbot-nginx==0.33.1 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 213))
  Downloading https://files.pythonhosted.org/packages/6f/4a/5f8d4c6d36db2281c38f7aa6e0c4c4693329afb58fc661ae6c6e7195ace5/certbot_nginx-0.33.1-py2.py3-none-any.whl (86kB)
Requirement already satisfied: setuptools>=1.0 in /opt/eff.org/certbot/venv/lib/python2.7/site-packages (from josepy==1.1.0->-r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 87))
THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    pycparser==2.19 from https://www.piwheels.org/simple/pycparser/pycparser-2.19-py2.py3-none-any.whl#sha256=344870c533812cb119c5475b5aed033ec546118711338ff9b2b78e67098d64e7 (from -r /tmp/tmp.cwGTGwKsYu/letsencrypt-auto-requirements.txt (line 105)):
        Expected sha256 a988718abfad80b6b157acce7bf130a30876d27603738ac39f140993246b25b3
             Got        344870c533812cb119c5475b5aed033ec546118711338ff9b2b78e67098d64e7
=====================================================

Certbot has problem setting up the virtual environment.

We were not be able to guess the right solution from your pip
output.

Consult https://certbot.eff.org/docs/install.html#problems-with-python-virtual-environment
for possible solutions.
You may also find some support resources at https://certbot.eff.org/support/ .

Had a problem while installing Python packages ET pip prints the following errors:

J'ai mis en gras ce qui me semble important. Pour l'instant j'ai pas trouvé de pistes sur ça. Merci d'avoir lu !
Helper Officiel Jeedom

glooobule
Helper
Messages : 33
Inscription : 28 avr. 2017, 16:30

Re: https Certbot has problem setting up the virtual environment

Message par glooobule » 06 avr. 2019, 04:00

Bon bah j'ai la réponse, comme quoi se lever tôt :

https://community.letsencrypt.org/t/cer ... es/90363/2

Le monsieur nous dit ça : The problem here is Raspbian has configured pip to use third party mirrors which certbot-auto doesn’t trust. I’m not sure where Raspbian has done this, but configuring pip to not use piwheels.org would solve this problem.

il suffit donc d'effacer /etc/pip.conf

Et ensuite tout fonctionne parfaitement.
Helper Officiel Jeedom

batteurjn
Timide
Messages : 2
Inscription : 14 sept. 2018, 15:53

Re: https Certbot has problem setting up the virtual environment [Résolu]

Message par batteurjn » 12 avr. 2019, 19:43

Bonsoir, même problème pour moi, je viens de refaire mon jeedom et impossible... même erreur que toi mais je ne comprend pas la manipulation que tu as fais...

Merci

glooobule
Helper
Messages : 33
Inscription : 28 avr. 2017, 16:30

Re: https Certbot has problem setting up the virtual environment [Résolu]

Message par glooobule » 12 avr. 2019, 20:56

Bonsoir batteurjn !

J'ai tout simplement supprimé le fichier

Code : Tout sélectionner

sudo rm -rf /etc/pip.conf
qui faisait référence à un "mirroir" que certbot n'aime pas :)

Après cela dépends aussi de quelle façon tu as installé certbot.
Dernière édition par glooobule le 12 avr. 2019, 21:45, édité 1 fois.
Helper Officiel Jeedom

batteurjn
Timide
Messages : 2
Inscription : 14 sept. 2018, 15:53

Re: https Certbot has problem setting up the virtual environment [Résolu]

Message par batteurjn » 12 avr. 2019, 21:40

Merci pour votre réponse, j'ai suivi ce tuto le : https://www.domo-blog.fr/comment-active ... vice-pack/

A priori ça fonctionne :) merci encore

gwenndu
Timide
Messages : 10
Inscription : 27 févr. 2017, 12:50

Re: https Certbot has problem setting up the virtual environment [Résolu]

Message par gwenndu » 01 mai 2019, 20:43

glooobule a écrit :
12 avr. 2019, 20:56
Bonsoir batteurjn !

J'ai tout simplement supprimé le fichier

Code : Tout sélectionner

sudo rm -rf /etc/pip.conf
qui faisait référence à un "mirroir" que certbot n'aime pas :)

Après cela dépends aussi de quelle façon tu as installé certbot.
methode fonctionnelle pour moi
Merci

glooobule
Helper
Messages : 33
Inscription : 28 avr. 2017, 16:30

Re: https Certbot has problem setting up the virtual environment [Résolu]

Message par glooobule » 01 mai 2019, 21:07

Parfait, merci a toi !
Helper Officiel Jeedom

Networks514
Actif
Messages : 578
Inscription : 02 sept. 2016, 22:22

Re: https Certbot has problem setting up the virtual environment

Message par Networks514 » 04 mai 2019, 12:46

glooobule a écrit :
06 avr. 2019, 04:00
Bon bah j'ai la réponse, comme quoi se lever tôt :

https://community.letsencrypt.org/t/cer ... es/90363/2

Le monsieur nous dit ça : The problem here is Raspbian has configured pip to use third party mirrors which certbot-auto doesn’t trust. I’m not sure where Raspbian has done this, but configuring pip to not use piwheels.org would solve this problem.

il suffit donc d'effacer /etc/pip.conf

Et ensuite tout fonctionne parfaitement.
Merci à toi , j’étais coincé !
Networks514
Jeedom / Synology DS411j / Synology DS916+8G / Rpi3 / Zibase
Zwave / Enocean / Rflink / Xiaomi / Bluetooth

ticoq
Timide
Messages : 100
Inscription : 09 août 2016, 10:52
Localisation : Région parisienne

Re: https Certbot has problem setting up the virtual environment [Résolu]

Message par ticoq » 10 mai 2019, 16:22

Un grand merci @glooobule :D
J'ai le renouvellement de mon certif qui n'a pas fonctionné hier, et en relançant manuellement le système, j'avais la même erreur !
Je viens de virer le fichier pip.conf, et le certif est de nouveau OK :)

yoda
Timide
Messages : 180
Inscription : 27 oct. 2017, 11:51

Re: https Certbot has problem setting up the virtual environment [Résolu]

Message par yoda » 10 mai 2019, 17:35

Merci à vous,

même message d'erreur et même solution : sudo rm -rf /etc/pip.conf

puis relancer la commande sudo /etc/certbot-auto renew

glooobule
Helper
Messages : 33
Inscription : 28 avr. 2017, 16:30

Re: https Certbot has problem setting up the virtual environment [Résolu]

Message par glooobule » 10 mai 2019, 18:10

Cool si ça aide :)
Helper Officiel Jeedom

BorisioCiro
Timide
Messages : 111
Inscription : 30 mai 2018, 15:10

Re: https Certbot has problem setting up the virtual environment [Résolu]

Message par BorisioCiro » 20 mai 2019, 21:09

J'ai le même souci... je viens de supprimer pip en faisant sudo rm -rf /etc/pip.conf, je suis en cours de réinstallation mais j'ai déjà le message
"./certbot-auto has insecure permissions!"
qui est réapparu...

j'espère que ça va passer !

EDIT: j'ai eu le message de certbot-auto, mais au final....

Congratulations, all renewals succeeded. The following certs have been renewed:
/etc/letsencrypt/live/domaine.domaine/fullchain.pem (success)

Merci beaucoup !! :) :) :)

Propheet
Timide
Messages : 137
Inscription : 22 janv. 2017, 20:00
Localisation : Belgique,Liege

Re: https Certbot has problem setting up the virtual environment [Résolu]

Message par Propheet » 23 mai 2019, 20:45

hello même problème
résolu grâce à vous
merci
Materiel

Rasberry pi 3 avec Jeedom
Rasberry pi 3 avec Jarvis
Rasberry pi 3 avec Kody
Rasberry pi 1 avec Kody
Nas Synology 212J

scotty92fr
Timide
Messages : 262
Inscription : 07 mars 2017, 20:31

Re: https Certbot has problem setting up the virtual environment [Résolu]

Message par scotty92fr » 24 mai 2019, 19:35

Merci Networks514, ca marche pour moi !!
Jeedom 4.0.35 DIY RPI3/SSD , Zwave - Rfxcom - ...

Répondre

Revenir vers « Utilisation »

Qui est en ligne ?

Utilisateurs parcourant ce forum : Aucun utilisateur inscrit et 4 invités