V
V
Viktor Grachev2016-06-30 13:01:47
linux
Viktor Grachev, 2016-06-30 13:01:47

How to set up an https connection between the fusioninventory agent and the server?

Good afternoon! Set up the GLPI + Fusioninventory equipment inventory and accounting system.
The agent normally transmits data via normal http and the server sees the agent correctly.
According to the manual at the office. site fusioninventory.org/documentation/security.html set up keys on the server, public and private. The admin panel itself works correctly over https using a self-signed certificate. I put the public key from the server on the client and specify the path to it in the agent config
ca-cert-file = /etc/ssl/certs/server.crt
But when the agent connects to the server, I get an error
[info] sending prolog request to server server0
[error ] [http client] communication error: 500 Can't connect to server_ip:443
Port 443 is open on the server and I can't figure out how to properly configure a secure connection between the agent and the server.
I would be grateful for any help and tips!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Baturin, 2019-09-04
@batyrin

is the virtual host configured on port 443?
[error] [http client] communication error: 500 Can't connect to server_ip:443 - check if the path is configured correctly.
example in file /etc/fusioninventory/agent.cfg
server = https://192.168.1.1/plugins/fusioninventory/ or server = https://192.168.1.1/glpi/plugins/fusioninventory/
check by enabling or disabling certificate checking.
# do not check server SSL certificate
no-ssl-check = 0 (check is on by default. disable ssl check = 1)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question