[TUTORIEL] - Passage de Gladys en HTTPS via Let's Encrypt

Tu peux donner le contenu juste pour être sûr ?

ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt;
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key;
ssl_certificate /etc/letsencrypt/live/mon domaine.ovh/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/mon domaine.ovh/privkey.pem;

Faut mettre en commentaire les lignes qui utilisent le self signed (les 2 premières) tu rajoute un # devant

Oui pardon, elles sont bien en commentaire.
Par contre, est ce qu’il y a quelque chose qui s’affiche lorsque l’on redémarre le service Nginx? Car chez moi je n’ai rien?

Qui s’affiche, c’est à dire ? Dans la console ?

Salut, tu le redémarre comment ?

Perso je fais avec cette commande moi sudo systemctl restart nginx et si ya erreur il te dit où regarder

@VonOx, oui dans la console?
@Jean34, j’ai faits ta commande et voila le résultat:

Job for nginx.service failed because the control process exited with error code.
See “systemctl status nginx.service” and “journalctl -xe” for details.

Après avoir fait la commande de Jean34, si je faits:

sudo service nginx start
Maintenant, j’ai le même résultat que la commande de Jean.

Et que dit les logs ?

[email protected]:~ $ pm2 logs
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/home/pi/.pm2/pm2.log last 15 lines:
PM2 | [2019-03-17 14:15:06] PM2 log: App [gladys] with id [0] and pid [1462], exited with code [0] via signal [SIGINT]
PM2 | [2019-03-17 14:15:06] PM2 log: Starting execution sequence in -fork mode- for app name:gladys id:0
PM2 | [2019-03-17 14:15:06] PM2 log: App name:gladys id:0 online
PM2 | [2019-03-17 16:40:42] PM2 log: App [gladys] with id [0] and pid [1491], exited with code [0] via signal [SIGINT]
PM2 | [2019-03-17 16:40:42] PM2 log: Starting execution sequence in -fork mode- for app name:gladys id:0
PM2 | [2019-03-17 16:40:42] PM2 log: App name:gladys id:0 online
PM2 | [2019-03-23 21:14:20] PM2 log: App [gladys] with id [0] and pid [1729], exited with code [0] via signal [SIGINT]
PM2 | [2019-03-23 21:14:20] PM2 log: Starting execution sequence in -fork mode- for app name:gladys id:0
PM2 | [2019-03-23 21:14:20] PM2 log: App name:gladys id:0 online
PM2 | [2019-03-26 19:20:58] PM2 log: App [gladys] with id [0] and pid [14817], exited with code [0] via signal [SIGINT]
PM2 | [2019-03-26 19:20:58] PM2 log: Starting execution sequence in -fork mode- for app name:gladys id:0
PM2 | [2019-03-26 19:20:58] PM2 log: App name:gladys id:0 online
PM2 | [2019-03-26 21:53:24] PM2 log: App [gladys] with id [0] and pid [18989], exited with code [0] via signal [SIGINT]
PM2 | [2019-03-26 21:53:24] PM2 log: Starting execution sequence in -fork mode- for app name:gladys id:0
PM2 | [2019-03-26 21:53:24] PM2 log: App name:gladys id:0 online
/home/pi/.pm2/logs/gladys-error-0.log last 15 lines:
0|gladys | at pass (/home/pi/gladys/node_modules/@sailshq/express/lib/router/index.js:145:5)
0|gladys | at nextRoute (/home/pi/gladys/node_modules/@sailshq/express/lib/router/index.js:100:7)
0|gladys | at callbacks (/home/pi/gladys/node_modules/@sailshq/express/lib/router/index.js:167:11)
0|gladys | at module.exports (/home/pi/gladys/api/policies/checkToken.js:4:12)
0|gladys | at routeTargetFnWrapper (/home/pi/gladys/node_modules/sails/lib/router/bind.js:181:5)
0|gladys | at callbacks (/home/pi/gladys/node_modules/@sailshq/express/lib/router/index.js:164:37)
0|gladys | at param (/home/pi/gladys/node_modules/@sailshq/express/lib/router/index.js:138:11)
0|gladys | at pass (/home/pi/gladys/node_modules/@sailshq/express/lib/router/index.js:145:5)
0|gladys | at nextRoute (/home/pi/gladys/node_modules/@sailshq/express/lib/router/index.js:100:7)
0|gladys | at callbacks (/home/pi/gladys/node_modules/@sailshq/express/lib/router/index.js:167:11)
0|gladys | at _sendHeaders (/home/pi/gladys/node_modules/sails/lib/hooks/cors/to-prepare-send-headers.js:91:7)
0|gladys | at routeTargetFnWrapper (/home/pi/gladys/node_modules/sails/lib/router/bind.js:181:5)
0|gladys | at callbacks (/home/pi/gladys/node_modules/@sailshq/express/lib/router/index.js:164:37)
0|gladys | at param (/home/pi/gladys/node_modules/@sailshq/express/lib/router/index.js:138:11)
0|gladys | at pass (/home/pi/gladys/node_modules/@sailshq/express/lib/router/index.js:145:5)
/home/pi/.pm2/logs/gladys-out-0.log last 15 lines:
0|gladys | House : checkUsersPresence

Voici ce que j’ai en partie lorsque je regarde systemctl

● nginx.service loaded failed failed A high performance web server and a reverse proxy server
pm2-pi.service loaded active running PM2 process manager
raspi-config.service loaded active exited LSB: Switch to ondemand cpu governor (unless shift key is pressed)
rc-local.service loaded active exited /etc/rc.local Compatibility
● resize2fs_once.service not-found active exited resize2fs_once.service

Voilà c’était ces logs qu’il fallait (pour ça que je n’ai pas répondu hier) …

Bon déjà tu as un probleme dans ton nginx.conf, faute de frappe où autre, faut que tu regarde ou au pire poste le contenu du fichier ici.
Ensuite resize2fs_once.service not-found active exited resize2fs_once.service peut être que je dit une connerie mais on dirait que ta carte sd commence à rendre l’âme. mais bon essais déjà de corriger ton nginx.conf ensuite tu verras :wink:

Merci @Jean34, ça va être vite fait pour le fichier nginx.conf car il y a rien dedans.
Comment se fait se?
Pour la carte SD, elle est neuve.

Je viens de re-suivre la procédure pour passer en https, après avoir fait

sudo ./enable-ssl-gladys.sh

Voici ce que j’obtiens:

Using new configuration in Nginx
ln: failed to create symbolic link ‘/etc/nginx/sites-enabled/gladys-ssl’: File exists
rm: cannot remove ‘/etc/nginx/sites-enabled/gladys’: No such file or directory
Restarting Nginx
Job for nginx.service failed because the control process exited with error code.
See “systemctl status nginx.service” and “journalctl -xe” for details.
HTTPS is now active on Gladys ! Congrats :slight_smile:

Après avoir continué et fait:

sudo git clone https://github.com/certbot/certbot /opt/letsencrypt

J’ai obtenu:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator standalone, Installer None
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for mon-domaine.ovh
Waiting for verification…
Challenge failed for domain mon-domaine.ovh
http-01 challenge for mon-domaine.ovh
Cleaning up challenges
Some challenges have failed.

IMPORTANT NOTES:

  • The following errors were reported by the server:

Domain: mon-domaine.ovh
Type: connection
Detail: unknownHost :: No valid IP addresses found for mon-domaine.ovh

To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you’re using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.

Je ne comprend pas, j’abandonne pour l’instant, j’ia toujours la même erreur:

● nginx.service loaded failed failed

Mon fichier nginx.conf est vide
Je n’ai plus accès à Gladys.
Je vais refaire une installe complète à neuf.
J’espère que pour la V4 , il y aura une procédure plus simple pour passer en https (n’est ce pas @pierre-gilles?)

A la base Gladys est prévue pour rester da s le réseau local… Donc c’est à toi de mettre les mains dans le cambouis pour mettre ta achine en réseau publique. Mais c’est faisable, je l’avais fait au tout début avant de prendre la gateway

Yes ce sera le cas :slight_smile:

2 Likes

@Tlse-vins bon bah je t’ai dit une connerie plus haut, je n’avais pas vu cette info…

Pas de problème @Jean34, j’avais vue le topic sur la V4.

1 Like

Bonjour, il semblerait que ce cron pose quelques problèmes de nginx qui ne redémarre pas, je suggère le script suivant :

0 3 * * * /opt/letsencrypt/certbot-auto renew; /etc/init.d/nginx stop; /etc/init.d/nginx start

ou même

0 3 * * * /opt/letsencrypt/certbot-auto renew; /etc/init.d/nginx reload 

Un avis ?

Je complète pour dire que sous debian, le package certbot est désormais installable depuis apt-get et, pour le coup, est à jour sur les évolutions de hashable de clé.

Salut De mon côté je n’arrive pas a passer l’étape

sudo ./certbot-auto --standalone certonly -d **votre.domaine.com**

Bootstrapping dependencies for Debian-based OSes… (you can skip this with --no-bootstrap)
Atteint:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Atteint:2 http://archive.raspberrypi.org/debian stretch InRelease
Err:3 https://dl.yarnpkg.com/debian stable InRelease
Les signatures suivantes n’ont pas pu être vérifiées car la clé publique n’est pas disponible : NO_PUBKEY 23E7166788B63E1E
Lecture des listes de paquets… Fait
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: Les signatures suivantes n’ont pas pu être vérifiées car la clé publique n’est pas disponible : NO_PUBKEY 23E7166788B63E1E
W: Impossible de récupérer https://dl.yarnpkg.com/debian/dists/stable/InRelease Les signatures suivantes n’ont pas pu être vérifiées car la clé publique n’est pas disponible : NO_PUBKEY 23E7166788B63E1E
W: Le téléchargement de quelques fichiers d’index a échoué, ils ont été ignorés, ou les anciens ont été utilisés à la place.
Lecture des listes de paquets… Fait
Construction de l’arbre des dépendances
Lecture des informations d’état… Fait
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 mis à jour, 0 nouvellement installés, 0 à enlever et 141 non mis à jour.
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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/letsencrypt-auto-requirements.txt (line 79))
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by ‘ProtocolError(‘Connection aborted.’, BadStatusLine("’’",))’: /simple/future/
Downloading https://files.pythonhosted.org/packages/90/52/e20466b85000a181e1e144fd8305caf2cf475e2f9674e797b222f8105f5f/future-0.17.1.tar.gz (829kB)
Collecting idna==2.8 (from -r /tmp/tmp.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/letsencrypt-auto-requirements.txt (line 115))
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by ‘ProtocolError(‘Connection aborted.’, BadStatusLine("’’",))’: /simple/requests/
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.7AzY2IqfvY/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.7AzY2IqfvY/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.2 (from -r /tmp/tmp.7AzY2IqfvY/letsencrypt-auto-requirements.txt (line 124))
Downloading https://files.pythonhosted.org/packages/df/1c/59cca3abf96f991f2ec3131a4ffe72ae3d9ea1f5894abe8a9c5e3c77cfee/urllib3-1.24.2-py2.py3-none-any.whl (131kB)
Collecting zope.component==4.5 (from -r /tmp/tmp.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.7AzY2IqfvY/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.34.2 (from -r /tmp/tmp.7AzY2IqfvY/letsencrypt-auto-requirements.txt (line 204))
Downloading https://files.pythonhosted.org/packages/7f/76/fcac02d7f4facde6e736eb843f62b329393c496ae0a30cb0e623e157c691/certbot-0.34.2-py2.py3-none-any.whl (325kB)
Collecting acme==0.34.2 (from -r /tmp/tmp.7AzY2IqfvY/letsencrypt-auto-requirements.txt (line 207))
Downloading https://files.pythonhosted.org/packages/ac/5f/89ad50a3bad3f5abf879ebd455f16011cdaf473871ba36b7f1cc331c1def/acme-0.34.2-py2.py3-none-any.whl (85kB)
Collecting certbot-apache==0.34.2 (from -r /tmp/tmp.7AzY2IqfvY/letsencrypt-auto-requirements.txt (line 210))
Downloading https://files.pythonhosted.org/packages/d5/23/4f3182c697af002121ed4158c83ec6ac5bb5e8c4c19804462ddf21a241ab/certbot_apache-0.34.2-py2.py3-none-any.whl (254kB)
Collecting certbot-nginx==0.34.2 (from -r /tmp/tmp.7AzY2IqfvY/letsencrypt-auto-requirements.txt (line 213))
Downloading https://files.pythonhosted.org/packages/f5/2a/dd77fabc1d7e58eb8c17e1ef72bf497b911116fe086845ab6b9dc6c9379d/certbot_nginx-0.34.2-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.7AzY2IqfvY/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.7AzY2IqfvY/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/ .

j’ai tenté des truc :

Mais nada.

Si quelqu’un veut bien m’aider :slight_smile: