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.5 available

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

ocsinventory-agent [2.2] SSL Error

I'm in the process of setting up a Linux Mint Sara workstation and am trying to install the OCS Inventory Agent.  I was using 2.11 but was getting the below error:

[Wed Jul 13 13:15:11 2016][error] Cannot establish communication : 500 SSL_verify_mode must be a number and not a string

My ocsinventory.conf contains:

ca=/etc/ocsinventory/cacert.pem
logfile=/var/log/ocsinventory-agent/ocs.log
server=https://theocsdomainhere.com/ocsinventory
debug=1
ssl=0
tag=workstationtag
basevardir=/var/lib/ocsinventory-agent

So, I grabbed 2.2 off of the website and am getting the same errors.

perl -v

This is perl 5, version 22, subversion 1 (v5.22.1)

Any suggestions would be welcome,

Doug
asked in OCS Inventory NG agent for Unix by (140 points)

1 Answer

0 votes

Hi,

If you want to use ssl inventory you have to set ssl=1 in ocsinventory-agent.cfg file, https://theocsdomainhere.com/ocsinventory url and copy the certificate of the server in /var/lib/ocsinventory-agent/https\:__theocsdomainhere.com_ocsinventory directory. Without this prerequisites ssl inventories don't run correctly.

Regards

Frank

answered by (66.6k points)
 
Powered by Question2Answer
...