Merci beaucoup,
Dans /home/wapt/ ça fonctionne en effet.
Cordialement.
Lycée Français International
Bangkok, THAILAND
David MATTA
Responsable des SI / IT Manager
498, Soi Ramkhamhaeng (Thep Leela 1)
Wangthonglang - 10310 - Bangkok
Tél : 66 (0) 29 34 80 08
Fax : 66 (0) 29 34 66 70
sysadmin@lfib.ac.th
www.lfib.ac.th | LinkedIn | Facebook | Twitter
This communication (including any files transmitted with it) is intended solely for the person or entity to whom it is addressed, and may contain confidential or privileged information. The disclosure, distribution or copying of this message is strictly forbidden. Should you have received this communication in error, kindly contact the sender promptly, destroy any copies and delete this message from your computer system.
De : WAPT <wapt-bounces@lists.tranquil.it> De la part de Bastien HERMITTE
Envoyé : mercredi 28 avril 2021 17:23
À : wapt@lists.tranquil.it
Objet : Re: [Wapt] Resigner des paquets sur le serveur
Bonjour,
Cette commande est en fait un wrapper qui appelle la commande suivante :
sudo -u wapt PYTHONHOME=/opt/wapt PYTHONPATH=/opt/wapt /opt/wapt/bin/python /opt/wapt/wapt-signpackages.py $@
L'utilisateur wapt n'a pas le droit d'accéder à /root, il faut que vous mettiez vos fichier clé/certificats dans un répertoire ou il pourra les lire.
Cordialement,
Bastien
Le 28/04/2021 à 12:11, David Matta a écrit :
Bonjour,
J’ai des paquets volumineux qui ne supportent pas d’être resignés directement via la console, je souhaiterai donc le faire depuis le serveur.
Pour se faire, j’ai copié mes certificats (*.pem et *.crt) dans /root et j’ai lancé la commande :
root@srvwapt:~# wapt-signpackages -i -s -c /root/privatekey.crt -k /root/privatekey.pem /var/www/wapt/*.wapt
ERROR: No private key found or specified
Cependant il ne voit pas le privatekey.pem qui est bien présent :
root@srvwapt:~# ls
privatekey.crt privatekey.pem
Une idée ?
Cordialement.
Lycée Français International
Bangkok, THAILAND
David MATTA
Responsable des SI / IT Manager
498, Soi Ramkhamhaeng (Thep Leela 1)
Wangthonglang - 10310 - Bangkok
Tél : 66 (0) 29 34 80 08
Fax : 66 (0) 29 34 66 70
sysadmin@lfib.ac.th
www.lfib.ac.th | LinkedIn | Facebook | TwitterThis communication (including any files transmitted with it) is intended solely for the person or entity to whom it is addressed, and may contain confidential or privileged information. The disclosure, distribution or copying of this message is strictly forbidden. Should you have received this communication in error, kindly contact the sender promptly, destroy any copies and delete this message from your computer system.
_______________________________________________WAPT mailing listWAPT@lists.tranquil.ithttp://lists.tranquil.it/listinfo/wapt