You are not logged in.
I need to ensure that only my computers can communicate with the server.
The best way I found was by using mutual TLS because I have an internal CA and want to use it.
So, I want to know if I can configure the glpi-agent to connect to a server informing one certificate to do the mutual TLS.
My infra is with a glpi server beyond one traefik proxy where I configured the authentication by certificate.
Please help me.
Offline
Hi htschannerl
you can try to create a client certificate for agents, install it with agentq in a PEM format file and set its path in the agent configuration with the "ssl-cert-file" parameters. This is not well tested so your feedback will be appreciated.
GLPI-Agent developer from Teclib' and GLPI-Network team
Previously FusionInventory-Agent maintainer
Offline
my case self-signed certificate for apache with a forced redirection.
- try in /etc/fusioninventory/agent.cfg fill it like this ca-cert-dir = /etc/ssl/certs/
- systemctl restart fusioninventory-agent
- fusioninventory-agent
you'll have no error
therefore you'll access agent in web browser in http "http://localhost:62354/".
IT WORKED FOR ME.
look:
info] target local0: local /tmp
[info] running task Inventory
[info] New inventory from glpi-2023-03-07-20-22-19 for local0
[info] Inventory saved in /tmp/glpi-2023-03-07-20-22-19.ocs
[info] running task Inventory
[info] New inventory from glpi-2023-03-07-20-22-19 for local0
[info] Inventory saved in /tmp/glpi-2023-03-07-20-22-19.ocs
[info] target server0: server https://localhost/glpi/marketplace/fusioninventory/
[info] sending prolog request to server0
[info] running task Inventory
[info] New inventory from glpi-2023-03-07-20-22-19 for server0
[info] running task Inventory
[info] New inventory from glpi-2023-03-07-20-22-19 for server0
Offline