Hello Stéphane,
Thank you very much for your answer. I have followed your instructions as well those from the blog pointed out. Unfortunately, even after having certificates in place (agent's installation folder), the workstation is not able to connect with the server.
To give you more info: Agent version 2.0.5.0, Server version 2.0.4, Server OS Slackware 12.0, Apache 2.2.8.
Service encounter error <OCS Inventory NG Agent encounter an error (exit code is 4 => Failed to talk with Communication Server)>.
Agent's log:
Starting OCS Inventory NG Agent on Tuesday, October 31, 2017 13:27:11.
AGENT => Running OCS Inventory NG Agent Version 2.0.5.0
AGENT => Using OCS Inventory NG FrameWork Version 2.0.5.0
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.5.0>
AGENT => Sending Prolog
ERROR *** AGENT => Failed to send Prolog <Problem with the SSL CA cert (path? access rights?)>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:01.
Config file:
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=0
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=https://server.domain/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=24
OLD_PROLOG_FREQ=24
TTO_WAIT=1800
As a reminder: as long as the server was running as http, everything was fine. Once we've changed to https.... not fine anymore.
However, from the browser, I can access https://server.domain/ocsreports, with no problems (apart from the Exception request, first time, as this is a self-signed certificate).
Thank you for your help, and regards! Valentin