[Wapt] Resigner des paquets sur le serveur [RESOLU]

David Matta sysadmin at lfib.ac.th
Mer 28 Avr 13:04:31 CEST 2021


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 at lfib.ac.th
www.lfib.ac.th | LinkedIn
<https://www.linkedin.com/company/3861878?trk=tyah&trkInfo=tarId%3A1413177122685%2Ctas%3Alycee%20francais%20international%20de%20bangkok%2Cidx%3A1-1-1>
| Facebook <https://www.facebook.com/LFIBofficial> | Twitter
<https://twitter.com/LFIBinfo>

[image: cid:image001.jpg at 01CFFF2E.9F8B78D0] <http://www.lfib.ac.th/>[image:
cid:image002.png at 01D1640D.E9750D90] <http://www.aefe.fr/>

*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 at lists.tranquil.it> *De la part de* Bastien
HERMITTE
*Envoyé :* mercredi 28 avril 2021 17:23
*À :* wapt at 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 at 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 at 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 at lfib.ac.th
www.lfib.ac.th | LinkedIn
<https://www.linkedin.com/company/3861878?trk=tyah&trkInfo=tarId%3A1413177122685%2Ctas%3Alycee%20francais%20international%20de%20bangkok%2Cidx%3A1-1-1>
| Facebook <https://www.facebook.com/LFIBofficial> | Twitter
<https://twitter.com/LFIBinfo>

[image: cid:image001.jpg at 01CFFF2E.9F8B78D0] <http://www.lfib.ac.th/>[image:
cid:image002.png at 01D1640D.E9750D90] <http://www.aefe.fr/>

*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.*





_______________________________________________

WAPT mailing list

WAPT at lists.tranquil.it

http://lists.tranquil.it/listinfo/wapt
-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20210428/1e933dcc/attachment.htm>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: image001.jpg
Type: image/jpeg
Taille: 1618 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20210428/1e933dcc/attachment.jpg>
-------------- section suivante --------------
Une pièce jointe autre que texte a été nettoyée...
Nom: image002.png
Type: image/png
Taille: 17309 octets
Desc: non disponible
URL: <http://lists.tranquil.it/pipermail/wapt/attachments/20210428/1e933dcc/attachment.png>


Plus d'informations sur la liste de diffusion WAPT