You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-10-27 16:51:58

maurica
Member
Registered: 2018-03-30
Posts: 14

connexion de l'agent fusioninventory en https

bonjour,

je lance un appel à tout ceux qui auraient pu faire fonctionner fusioninventory sur serveur https -

cela fonctionne tres bien en :80

un petit coup de pouce pour generer et déclarer les certificats..
parametres apaches

merci par avance.

log fusion :

[Thu Oct 27 16:36:24 2022][error] [http client] communication error: 500 Can't connect to glpi-dev.ch-blois.net:443 (Bad file descriptor)
[Thu Oct 27 16:36:24 2022][error] No answer from server at https://glpi-dev.ch-blois.net/plugins/fusioninventory
[Thu Oct 27 16:38:19 2022][debug] FusionInventory Agent (2.6)
[Thu Oct 27 16:38:19 2022][debug] Configuration directory: C:\Program Files\FusionInventory-Agent\etc
[Thu Oct 27 16:38:19 2022][debug] Data directory: C:\Program Files\FusionInventory-Agent/share
[Thu Oct 27 16:38:19 2022][debug] Storage directory: C:\Program Files\FusionInventory-Agent/var
[Thu Oct 27 16:38:19 2022][debug] Lib directory: C:\Program Files\FusionInventory-Agent/perl/agent
[Thu Oct 27 16:38:19 2022][debug] [target server0] Next server contact planned for Thu Oct 27 17:35:41 2022
[Thu Oct 27 16:38:19 2022][debug] Available tasks:
[Thu Oct 27 16:38:19 2022][debug] - WMI: 0.3
[Thu Oct 27 16:38:19 2022][debug] - NetDiscovery: 4.2
[Thu Oct 27 16:38:19 2022][debug] - Inventory: 1.10
[Thu Oct 27 16:38:19 2022][debug] - NetInventory: 4.2
[Thu Oct 27 16:38:19 2022][debug] - Maintenance: 1.1
[Thu Oct 27 16:38:19 2022][debug] target server0: server https://glpi-dev.ch-blois.net/plugins/fusioninventory
[Thu Oct 27 16:38:19 2022][debug] Planned tasks for server0:
[Thu Oct 27 16:38:19 2022][debug] - WMI: 0.3
[Thu Oct 27 16:38:19 2022][debug] - NetDiscovery: 4.2
[Thu Oct 27 16:38:19 2022][debug] - Inventory: 1.10
[Thu Oct 27 16:38:19 2022][debug] - NetInventory: 4.2
[Thu Oct 27 16:38:19 2022][debug] target scheduler0: scheduler
[Thu Oct 27 16:38:19 2022][debug] Planned tasks for scheduler0:
[Thu Oct 27 16:38:19 2022][debug] - Maintenance: 1.1
[Thu Oct 27 16:38:19 2022][debug] Provided by Fusioninventory
[Thu Oct 27 16:38:19 2022][debug] Installer built with Appveyor on Fri Nov 27 15:35:24 UTC 2020
[Thu Oct 27 16:38:19 2022][debug] Running in foreground mode
[Thu Oct 27 16:38:19 2022][info] target server0: server https://glpi-dev.ch-blois.net/plugins/fusioninventory
[Thu Oct 27 16:38:19 2022][debug] [http client] Using Compress::Zlib for compression
[Thu Oct 27 16:38:19 2022][info] sending prolog request to server0
[Thu Oct 27 16:38:19 2022][error] [http client] communication error: 500 Can't connect to glpi-dev.ch-blois.net:443 (Bad file descriptor)
[Thu Oct 27 16:38:19 2022][error] No answer from server at https://glpi-dev.ch-blois.net/plugins/fusioninventory

Offline

#2 2022-11-07 18:37:22

gbougard
Moderator
From: Montpellier, France
Registered: 2021-07-21
Posts: 534
Website

Re: connexion de l'agent fusioninventory en https

Salut maurica,

l'agent fusioninventory n'a plus de support depuis 2 ans et tu devrais essayer avec l'agent GLPI qui reste compatible avec le plugin fusioninventory.
Ensuite, soit tu utilises un certificat signé par une autorité publique que l'agent FI 2.6 n'inclut pas car nouvelle depuis sa sortie il y a 2 ans, soit il faut que tu copies le certificat de ton server et que tu utilises l'option ca-cert-file.
Si tu as un certificat auto-signé, l'agent GLPI supporte une nouvelle option "ssl-fingerprint" qui permet d'authentifier le certificat en vérifiant son empreinte.


GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer

Offline

#3 2022-11-08 12:50:17

maurica
Member
Registered: 2018-03-30
Posts: 14

Re: connexion de l'agent fusioninventory en https

Bonjour merci pour la reponse, j'ai finalement opté pour l'option "ne pas verifier le certificat" et ça fonctionne bien,

l'agent est parametré comme suit :

[HKEY_LOCAL_MACHINE\SOFTWARE\FusionInventory-Agent]
"backend-collect-timeout"="180"
"ca-cert-dir"=""
"ca-cert-file"=""
"conf-reload-interval"="0"
"debug"="2"
"delaytime"="3600"
"html"="0"
"httpd-ip"="0.0.0.0"
"httpd-port"="62354"
"httpd-trust"="127.0.0.1/32"
"local"=""
"logfile"="C:\\Program Files\\FusionInventory-Agent\\logs\\fusioninventory-agent.log"
"logfile-maxsize"="16"
"logger"="File"
"no-category"=""
"no-httpd"="0"
"no-p2p"="0"
"no-ssl-check"="1"
"no-task"=""
"password"=""
"proxy"=""
"server"="https://MonServeurGlpi/plugins/fusioninventory/"
"scan-homedirs"="0"
"scan-profiles"="0"
"tag"=""
"tasks"=""
"timeout"="180"
"user"=""

bonne journée

Offline

Board footer

Powered by FluxBB