I would use ocsinventory-injector.pl to local import inventory: from GUI I have this error message:
Errore 111 / Connection refused Al server: http://localhost:80/ocsinventory
I’ve tried:
perl ocsinventory-injector.pl -f /tmp/<filename>.ocs -u http://localhost/ocsinventory -v
error:
ERROR: 500 Can't connect to <IPaddress>:80 (Connection refused)
Then:
perl ocsinventory-injector.pl -f /tmp/<filename>.ocs -u https://localhost/ocsinventory -v
with:
ERROR: 500 SSL_ca_file cacert.pem can't be used: No such file or directory
Then :
perl ocsinventory-injector.pl -f /tmp/<filename>.ocs -u https://localhost/ocsinventory --sslmode 0 -v
With:
ERROR: 500 SSL_ca_file cacert.pem can't be used: No such file or directory
I do not want to use any certificate because I work on a LAN without external connection.Thanks