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-07-20 11:39:35

TABHEFED
Member
Registered: 2022-07-20
Posts: 1

communication error: 400 Bad Request avec certificat SSL

Bonjour à tous,

Suite à la mise en place d'un certificat SSL sur mon serveur GLPI les agents Windows n'arrivent pas à établir la connexion ici un aperçu du log

[Wed Jul 20 10:08:48 2022][info] target server0: server https://server_url/front/inventory.php
[Wed Jul 20 10:08:48 2022][info] sending contact request to server0
[Wed Jul 20 10:09:10 2022][error] [http client] communication error: 400 Bad Request,
[Wed Jul 20 10:09:10 2022][error] [http client] unexpected content, starting with:
XML not well formed!
[Wed Jul 20 10:09:10 2022][error] No answer from server at https://server_url/front/inventory.php
[Wed Jul 20 10:09:10 2022][info] target server0: next run: Wed Jul 20 10:10:10 2022 - https://server_url/front/inventory.php
[Wed Jul 20 10:09:10 2022][info] GLPI Agent memory usage: WSS=3395584 PFU=124186624
[Wed Jul 20 10:09:10 2022][info] target server0: server https://server_url/front/inventory.php
[Wed Jul 20 10:09:10 2022][info] sending prolog request to server0
[Wed Jul 20 10:09:10 2022][info] server0 answer shows it supports GLPI Agent protocol
[Wed Jul 20 10:09:10 2022][info] running task ESX
[Wed Jul 20 10:09:11 2022][error] [http client] communication error: 400 Bad Request,
[Wed Jul 20 10:09:11 2022][info] ESX task not supported by server0
[Wed Jul 20 10:09:13 2022][info] running task Collect
[Wed Jul 20 10:09:13 2022][error] [http client] communication error: 400 Bad Request,
[Wed Jul 20 10:09:13 2022][info] Collect task not supported by server0
[Wed Jul 20 10:09:14 2022][info] running task Inventory
[Wed Jul 20 10:09:14 2022][info] New inventory from LAPT-0019.success.lan-2022-02-16-15-17-26 for server0

et la configuration de l'agent :

registry

avant l'installation du certificat je n'avais pas de problème avec la valeur no-ssl-check=1 maintenant que la valeur soit à 0 ou 1 l'erreur reste identique

la version de l'agent GLPI est 1.4
la version de GLPI est 10.1.0 sur un serveur Debian 11

j'ai également essayé avec la version 1.2 de l'agent et la version 1.5 nightly mais problème reste
merci par avance pour une aide éventuel

Offline

#2 2022-08-05 17:25:23

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

Re: communication error: 400 Bad Request avec certificat SSL

Côté agent, configure "debug" à "2" et relance le service. Force ou attend le prochain inventaire et vérifie ton journal côté agent. Tu auras peut-être des erreurs plus claires.


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

Offline

Board footer

Powered by FluxBB