Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

error SSL in agent

i have an error trying to connect with HTTPS. i thin i have all the settings ok but...

ERROR *** AGENT => Failed to send Prolog <SSL peer certificate or SSH remote key was not OK>
This is my config:
[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=0
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=https://46.226.45.65:443/ocsinventory
SSL=1
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
TTO_WAIT=3540
INVENTORY_ON_STARTUP=1
PROLOG_FREQ=24
OLD_PROLOG_FREQ=24
in OCS Inventory NG agent for Unix by (140 points)

1 Answer

+1 vote

Hi,

In https, you should have

/server=http[s]://server.domain.tld[:port]/ocsinventory

server called by FQDN, not by IP ! Modify your OCS Agent configuration

Note that your certificate must be generated using FQDN. if use IP, you must create new one with FQDN this time.

Regards.

by (5.7k points)
 
Powered by Question2Answer
...