Bonjour à tous,
Je viens de déployer un OCS NG 2.2 sur un Ubuntu Server 14.04.
J'ai monté l'agent 2.1.1.1 sur une VM (VMware Workstation 12) Windows 7, mais le machine ne remonte pas sur OCS...
(tous les pings dans les deux sens sont OK, la VM est bridgée).
J'obtiens ceci dans les logs de l'agent, apparemment un problème de certificat, pourtant le certificat est bien installé sur le serveur, j'accède bien à mon serveur glpi et ocsreports en https. (j'ai extrait un certificat en .p12 pour générer les fichiers nécessaire à la mise en place de ce certificat sur linux).
==============================================================================
Starting OCS Inventory NG Agent on Monday, March 21, 2016 17:21:12.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.1
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.1
AGENT => Loading plug-in(s)
DLL PLUGIN => Searching for Plug-in DLL(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
DLL PLUGIN => 0 DLL Plug-in(s) succesfully loaded on 0 DLL(s) found
AGENT => Using network connection with Communication Server
COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.1>
AGENT => Sending getLabel request
COM SERVER => Initializing cURL library for getFile
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
COM SERVER => Sending fileGet request to URL <
https://serveur.mondomaine.com/ocsinventory/deploy/label>
WARNING *** COM SERVER => Failed to send HTTP Get request <Peer certificate cannot be authenticated with known CA certificates>
COM SERVER => Cleaning cURL library
AGENT => Failed to retrieve Label <Peer certificate cannot be authenticated with known CA certificates>
AGENT => Sending Prolog
DID_CHECK => Read DeviceID <LAB-IT-PC-2016-03-17-16-07-45> and MACs <00:0C:29:AB:4D:87E4:F8:9C:54:77:EC> in file <ocsinventory.dat>
COM SERVER => Initializing cURL library for sendRequest
COM SERVER => Using cURL without server authentication
COM SERVER => Disabling cURL proxy support
COM SERVER => Enabling cURL SSL server validation support using CA Bundle <cacert.pem>
COM SERVER => Sending HTTP Post request to URL <
https://serveur.mondomaine.com/ocsinventory>
WARNING *** COM SERVER => Failed to send HTTP Post request <Peer certificate cannot be authenticated with known CA certificates>
COM SERVER => Cleaning cURL library
ERROR *** AGENT => Failed to send Prolog <Peer certificate cannot be authenticated with known CA certificates>
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:00.
Auriez-vous une idée d'où peux venir le problème ?