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.

Effectuer un déploiement sans activer de certificat ?

Bonjour,

Je souhaitais savoir s'il était possible d'effectuer des déploiement d'applications sur le parc sans passer par l'utilisation de certificat ? Si oui, comment ?

Merci,
in OCS Inventory NG server for Unix by (2k points)

4 Answers

0 votes
Bonjour,

Cela n'est pas conseillé. Il faut permettre le téléchargement en http du fichier info. Et pour cela il faut modifier le code d'ocs.

Cordialement

Frank
by (90.2k points)
0 votes

J'ai ouvert notepadd en admin et ouvert C:\ProgramData\OCS Inventory NG\Agent\ocsinventory.ini :

[OCS Inventory Agent]
ComProvider=ComHTTP.dll
Debug=1
Local=
NoSoftware=0
HKCU=0
NoTAG=0
IpDisc=
[HTTP]
Server=http://OCSserveur.rcval.fr/ocsinventory
SSL=0
CaBundle=cacert.pem
AuthRequired=0
User=
Pwd=
ProxyType=0
Proxy=
ProxyPort=0
ProxyAuthRequired=0
ProxyUser=
ProxyPwd=
[OCS Inventory Service]
PROLOG_FREQ=1
OLD_PROLOG_FREQ=1
TTO_WAIT=2700

Du coup mon délédéploiement est comme ceci :

Voici le fichier C:\ProgramData\OCS Inventory NG\Agent\Download.txt :

==============================================================================
Starting OCS Inventory NG Package Download and Setup Tool on Thursday, June 04, 2015 10:08:16.
DOWNLOAD => Running OCS Inventory NG Download Version 2.0.5.0
DOWNLOAD => Using OCS Inventory NG FrameWork Version 2.0.5.0
DOWNLOAD => Using network connection with Communication Server
    COM PROVIDER => Loading Communication Provider <C:\Program Files (x86)\OCS Inventory Agent\ComHTTP.dll>
DOWNLOAD => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.0.5.0>
DOWNLOAD => Starting new period of 10 cycles
    DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
    DOWNLOAD => Verifying package <C:\ProgramData\OCS Inventory NG\Agent\download\1402057573>
DOWNLOAD => Package <1402057573> verified and added to process queue
    DOWNLOAD => Processing packages for cycle 1 on Thursday, June 04, 2015 10:08:16
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 2 on Thursday, June 04, 2015 10:09:16
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 3 on Thursday, June 04, 2015 10:10:16
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 4 on Thursday, June 04, 2015 10:11:16
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 5 on Thursday, June 04, 2015 10:12:16
DOWNLOAD => Downloading package fragment <1402057573-1>
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Disabling cURL SSL server validation support
    COM SERVER => Sending fileGet request to URL <HTTP://ocs/download/1402057573/1402057573-1>
    COM SERVER => fileGet response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
    DOWNLOAD => Pausing for fragment latency (10 seconds)
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 6 on Thursday, June 04, 2015 10:13:31
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 7 on Thursday, June 04, 2015 10:14:31
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 8 on Thursday, June 04, 2015 10:15:31
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 9 on Thursday, June 04, 2015 10:16:31
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 10 on Thursday, June 04, 2015 10:17:31
DOWNLOAD => Downloading package fragment <1402057573-2>
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Disabling cURL SSL server validation support
    COM SERVER => Sending fileGet request to URL <HTTP://ocs/download/1402057573/1402057573-2>
    COM SERVER => fileGet response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
    DOWNLOAD => Pausing for fragment latency (10 seconds)
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Pausing for period latency (1 seconds)
DOWNLOAD => Starting new period of 10 cycles
    DOWNLOAD => Flushing package queue
DOWNLOAD => Parsing directory <C:\ProgramData\OCS Inventory NG\Agent\download> for packages
    DOWNLOAD => Verifying package <C:\ProgramData\OCS Inventory NG\Agent\download\1402057573>
DOWNLOAD => Package <1402057573> verified and added to process queue
    DOWNLOAD => Processing packages for cycle 1 on Thursday, June 04, 2015 10:18:47
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 2 on Thursday, June 04, 2015 10:19:47
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 3 on Thursday, June 04, 2015 10:20:47
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 4 on Thursday, June 04, 2015 10:21:47
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 5 on Thursday, June 04, 2015 10:22:47
DOWNLOAD => Downloading package fragment <1402057573-3>
    COM SERVER => Initializing cURL library for getFile
    COM SERVER => Using cURL without server authentication
    COM SERVER => Disabling cURL proxy support
    COM SERVER => Disabling cURL SSL server validation support
    COM SERVER => Sending fileGet request to URL <HTTP://ocs/download/1402057573/1402057573-3>
    COM SERVER => fileGet response received <HTTP Status Code #200>
    COM SERVER => Cleaning cURL library
    DOWNLOAD => Pausing for fragment latency (10 seconds)
    DOWNLOAD => Pausing for cycle latency (60 seconds)
    DOWNLOAD => Processing packages for cycle 6 on Thursday, June 04, 2015 10:24:00
    DOWNLOAD => Pausing for cycle latency (60 seconds)

Du coup là c'est en train de télécharger le paquet ??

by (2k points)
0 votes
Bonjour,

Oui le téléchargement du paquet est en cours.

Cordialement

Frank
by (90.2k points)
0 votes
Bon il me reste plus qu'à régler ce problème de certificat SSL.
by (2k points)
 
Powered by Question2Answer
...