It adds a variable which can be set in order to disable HTTPS cert check. Currently I need to manually modify /usr/libexec/ocsinventory-agent/ocsinventory-agent.cron which is incovenient, because this file is overwritten on package upgrade on CentOS/Fedora.
The following patch for the rpm spec file is also needed:
--- ocsinventory-agent.spec.orig 2022-10-17 16:56:26.000000000 +0300
+++ ocsinventory-agent.spec 2023-03-28 17:55:25.535739778 +0300
@@ -180,7 +180,10 @@
# can be used to override the %{name}.cfg setup.
# OCSSERVER[0]=your.ocsserver.name
-#
+#
+# can be used to disable HTTPS cert check.
+# OCSSSL[0]=0
+#
# corresponds with --local=%{_localstatedir}/lib/%{name}
# OCSSERVER[0]=local
%endif
Status
READY
Description
It adds a variable which can be set in order to disable HTTPS cert check. Currently I need to manually modify
/usr/libexec/ocsinventory-agent/ocsinventory-agent.cron
which is incovenient, because this file is overwritten on package upgrade on CentOS/Fedora.The following patch for the rpm spec file is also needed: