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

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

Linux agent does not connect - certificate verify failed

[Wed Apr 27 14:21:38 2016][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Wed Apr 27 14:21:38 2016][debug] Log system initialised (File)
[Wed Apr 27 14:21:38 2016][debug] --scan-homedirs missing. Don't scan user directories
[Wed Apr 27 14:21:38 2016][debug] Accountinfo file: /var/lib/ocsinventory-agent/https:__ocs.deltaholding.rs_ocsinventory/ocsinv.adm
[Wed Apr 27 14:21:38 2016][debug] OCS Agent initialised
[Wed Apr 27 14:21:39 2016][debug] Turns hooks on for /etc/ocsinventory/modules.conf
[Wed Apr 27 14:21:39 2016][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Wed Apr 27 14:21:39 2016][debug] Log system initialised (File)
[Wed Apr 27 14:21:39 2016][debug] Ocsinventory unified agent for UNIX, Linux and MacOSX 2.1.1
[Wed Apr 27 14:21:39 2016][debug] Log system initialised (File)
[Wed Apr 27 14:21:39 2016][debug] Calling handlers : `start_handler'
[Wed Apr 27 14:21:39 2016][debug] [snmp] Calling snmp_start_handler
[Wed Apr 27 14:21:39 2016][debug]  - Net::SNMP loaded
[Wed Apr 27 14:21:39 2016][debug] [download] Calling download_start_handler
[Wed Apr 27 14:21:39 2016][debug]  - LWP loaded
[Wed Apr 27 14:21:39 2016][debug]  - LWP::Protocol::https loaded
[Wed Apr 27 14:21:39 2016][debug] Compress::Zlib is available.
[Wed Apr 27 14:21:39 2016][debug] Calling handlers : `prolog_writer'
[Wed Apr 27 14:21:39 2016][debug] sending XML
[Wed Apr 27 14:21:39 2016][debug] sending: <?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
  <DEVICEID>slesrepo-2016-04-14-15-30-14</DEVICEID>
  <QUERY>PROLOG</QUERY>
</REQUEST>
[Wed Apr 27 14:21:39 2016][error] Cannot establish communication : 500 Can't connect to ocs.deltaholding.rs:443 (Crypt-SSLeay can't verify hostnames)
in OCS Inventory NG agent for Unix by (150 points)

1 Answer

–1 vote
Hi,

How have you setup your certificate?

Regards

Frank
by (88.5k points)
Yes. I have it running on several other hosts but just a few report this error for an unknown reason.
Sorry, I misread your question. It is a self signed certificate and like I said, it is working fine on several other hosts.
 
Powered by Question2Answer
...