<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Il faudrait vérifier les droits sur l'arborescence /opt/wapt .<br>
    Lors de l'enregistrement d'une machine, le serveur (process python
    server.py) doit pouvoir accéder à sa clé pour signer les certificats
    des postes clients<br>
    dans /opt/wapt/conf/ il doit y avoir "nomduserveur.crt" et
    "nomduserveur.key" avec des droits corrects pour le l'utilisateur
    wapt puissent lire<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Le 03/09/2019 à 14:14, Jérôme COLOMBET
      a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:23ffafe5-fa4d-300b-d964-658de327e7ca@lcc-toulouse.fr">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <tt>Bonjour,<br>
        <br>
        Suite à la mise à jour de notre serveur (debian stretch) de 1.6
        en 1.7 afin de corriger le problème de</tt><tt> somme MD5, <br>
        nous n'arrivons plus à enrôler de nouvelles machines. Par
        contre, nous pouvons contrôler les machines existantes.<br>
        <br>
      </tt><tt>Avons-nous loupé la génération de l'agent ? <br>
        <br>
        Nous avons également remarqué en faisant un apt-get upgrade vers
        les versions supérieures de WAPT que le fichier <br>
        /var/www/wapt/Packages prenait les droits root:root et non
        wapt:www-data.<br>
        <br>
        D'avance merci.<br>
        <br>
        Jérôme<br>
      </tt><br>
      <tt><b>DEBUG</b><br>
        <br>
        windows<br>
      </tt><br>
      <tt><tt>C:\Windows\system32> wapt-get register<br>
          Using config file: C:\Program Files (x86)\wapt\wapt-get.ini<br>
          Registering host against server: <a
            class="moz-txt-link-freetext"
            href="https://monserveur.mondomaine.fr"
            moz-do-not-send="true">https://monserveur.mondomaine.fr</a><br>
          Error when registering host against server <a
            class="moz-txt-link-freetext"
            href="https://monserveur.mondomaine.fr"
            moz-do-not-send="true">https://monserveur.mondomaine.fr</a>:
          Error on server:<br>
          IOError(13, 'Permission denied')<br>
          <br>
        </tt><br>
        log serveur :<br>
        <br>
        Sep  3 13:29:54 wapt python[427]: 2019-09-03 13:29:54,398
        CRITICAL update_host failed EWaptMissingCertificate(u'You try to
        update status of an unknown host
        1AD36AFF-7D22-11E3-9802-B24A100000FF (mamachine.mondomaine.fr).
        Please register first.',)<br>
        Sep  3 13:30:05 wapt python[427]: 2019-09-03 13:30:05,248
        WARNING Unauthenticated registration for mamachine.mondomaine.fr<br>
        Sep  3 13:30:05 wapt python[427]: 2019-09-03 13:30:05,251
        CRITICAL add_host failed IOError(13, 'Permission denied')<br>
      </tt><br>
      <div class="moz-signature"><br>
        <div id="sig" style="min-height: 60px; line-height: 17px;
          margin: 0; padding: 10px 0; border-top: 1px #3a342c dotted;
          font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
          font-size: 11px; color: #3a342c; min-width: 530px;"> <a
            href="http://www.cnrs.fr/" moz-do-not-send="true"><img
              src="http://images.lcc-toulouse.fr/images/cnrs_80ans.jpg"
              style="float: left; padding: 5px 10px 0 0;"
              moz-do-not-send="true" width="100" height="65"></a><a
            href="https://www.lcc-toulouse.fr" moz-do-not-send="true"><img
              src="http://images.lcc-toulouse.fr/images/lcc.jpg"
              style="float: left; padding: 5px 10px 0 0;"
              moz-do-not-send="true" width="75" height="60"></a> <strong
            style="color: #3a342c; font-size:12px;">Jérôme COLOMBET | IT
            Manager | RICS</strong><br>
          CNRS Laboratoire de Chimie de Coordination (LCC) - UPR 8241<br>
          205 route de Narbonne - BP44099 - 31077 TOULOUSE Cedex 4<br>
          +33 561 333 107 | <a
            href="mailto:jerome.colombet@lcc-toulouse.fr" style="color:
            #403120; text-decoration: none; border-bottom: 1px #333333
            dotted;" moz-do-not-send="true">jerome.colombet@lcc-toulouse.fr</a>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
WAPT mailing list
<a class="moz-txt-link-abbreviated" href="mailto:WAPT@lists.tranquil.it">WAPT@lists.tranquil.it</a>
<a class="moz-txt-link-freetext" href="http://lists.tranquil.it/listinfo/wapt">http://lists.tranquil.it/listinfo/wapt</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>