2010/11/10 Tom Carpenter <[email protected]>:
> I installed FusionInventory Agent 2.1.6 using apt on my Ubuntu 10.10
> (amd64) system. "/etc/fusioninventory/agent.cfg" contains the lines
>
> # OCS Inventory server with SSL
> # server=https://yourserver/ocsinventory
>
> does this imply that FusionInventory Agent supports the use of SSL
> when uploading inventory information to the OCS Inventory
> communications server? I haven't looked at the current development
> OCS Inventory code to know if SSL support for agent uploads of
> inventory information is planned.

Hi Tom,

Yes FusionInventory Agent support SSL. You can even do software deployment
with HTTPS but in this case you need to do a little hack on ocs server.
I attached the patch.

Best regards,
-- 
     Gonéri Le Bouder
--- Apache/Ocsinventory/Server/Capacities/Download.pm.orig	2010-09-12 21:33:10.000000000 +0200
+++ Apache/Ocsinventory/Server/Capacities/Download.pm	2010-09-12 21:36:42.000000000 +0200
@@ -182,8 +182,8 @@ sub download_prolog_resp{
           push @packages,{
             'TYPE'    => 'PACK',
             'ID'    => $pack_row->{'FILEID'},
-            'INFO_LOC'  => $pack_row->{'INFO_LOC'},
-            'PACK_LOC'  => $pack_row->{'PACK_LOC'},
+            'INFO_LOC'  => "https://".$pack_row->{'INFO_LOC'},
+            'PACK_LOC'  => "https://".$pack_row->{'PACK_LOC'},
             'CERT_PATH'  => $pack_row->{'CERT_PATH'}?$pack_row->{'CERT_PATH'}:'INSTALL_PATH',
             'CERT_FILE'  => $pack_row->{'CERT_FILE'}?$pack_row->{'CERT_FILE'}:'INSTALL_PATH'
           };
@@ -250,8 +250,8 @@ sub download_prolog_resp{
       push @packages,{
         'TYPE'    => 'PACK',
         'ID'    => $pack_row->{'FILEID'},
-        'INFO_LOC'  => $pack_row->{'INFO_LOC'},
-        'PACK_LOC'  => $pack_loc,
+        'INFO_LOC'  => "https://".$pack_row->{'INFO_LOC'},
+        'PACK_LOC'  => "https://".$pack_loc,
         'CERT_PATH'  => $pack_row->{'CERT_PATH'}?$pack_row->{'CERT_PATH'}:'INSTALL_PATH',
         'CERT_FILE'  => $pack_row->{'CERT_FILE'}?$pack_row->{'CERT_FILE'}:'INSTALL_PATH'
       };
_______________________________________________
Fusioninventory-user mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/fusioninventory-user

Reply via email to