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.

fail to deploy program

i receive a warning and an error in the log file.

i can't find the solution. I've tried some solutions from the forum but none solved the problem.

    COM SERVER => Sending fileGet request to URL <https://ocsngserver.***.intra/download/1421851224/info>
    WARNING *** COM SERVER => Failed to send HTTP Get request <SSL peer certificate or SSH remote key was not OK>
    COM SERVER => Cleaning cURL library
ERROR *** DOWNLOAD => Failed to download Metadata file <https://ocsngserver.***.intra/download/1421851224/info> to <C:\ProgramData\OCS Inventory NG\Agent\download\1421851224\info>
in OCS Inventory NG agent for Windows by (340 points)

6 Answers

0 votes
Hi,

How have you built your certificate?

Regards
by (88.5k points)
0 votes
i used the certificate that was already available in apache in the ssl directories.
by (340 points)
0 votes
Hi,

You must rebuild your own certificate. Plenty of tutorials on the net purpose a method for building self signed certificates.
by (88.5k points)
0 votes
i'm going to try it, thanks :-)
by (340 points)
0 votes

followed the steps for a self signed certificate of following page:

http://wiki.ocsinventory-ng.org/index.php/Documentation:Teledeploy#Using_self_signed_certificates.

i created a new certificate with makecert.bat

i made a local copy of the certificate as cacert.pem for the agent

i tried a new deploy of a program to the agent

i see in the log of the agent a new warning:

WARNING *** COM SERVER => Failed to send HTTP Get request <Peer certificate cannot be authenticated with known CA certificates>

by (340 points)
edited by
0 votes
i think i found the solution: change the value of SSL in ocsinventory.ini to 0
by (340 points)
 
Powered by Question2Answer
...