Good morning, I installed OCS Inventory on a Red Hat Enterprise Linux Server 7.6. I have created the apache.crt and apache.key files from a company .pfx certificate and copied them to / etc / httpd / ssl. I have also created the cacert.pem file from apache.crt. I have modified the files:
httpd.conf:
Listen IP.OF.SER.VER: 443
ServerAdmin *Emails are not allowed*ISHED
ServerName NAME.OFSERVER.PUBLISHED: 443
ocsinventory-reports.conf:
uncommenting the SSLRequireSSL line
ssl.conf:
Listen 4443 https
<VirtualHost IP.OF.SER.VER: 443>
ServerName NAME.OFSERVER.PUBLISHED: 443
SSLEngine on
SSLCertificateFile /etc/httpd/ssl/apache.crt
SSLCertificateKeyFile /etc/httpd/ssl/apache.key
If I configure the ocsinventory.ini on clients:
Server = https: //NAME.OFSERVER.PUBLISHED/ocsinventory
SSL = 1
CaBundle = cacert.pem
The inventory is collected correctly.
The problem is that if I configure the ocsinventory.ini:
Server = https: //NAME.OFSERVER.PUBLISHED/ocsinventory
SSL = 0
CaBundle =
It also collects the equipment data. Where am I failing in the configuration?
httpd.conf:
Listen IP.OF.SER.VER: 443
ServerAdmin *Emails are not allowed*ISHED
ServerName NAME.OFSERVER.PUBLISHED: 443
ocsinventory-reports.conf:
uncommenting the SSLRequireSSL line
ssl.conf:
Listen 4443 https
<VirtualHost IP.OF.SER.VER: 443>
ServerName NAME.OFSERVER.PUBLISHED: 443
SSLEngine on
SSLCertificateFile /etc/httpd/ssl/apache.crt
SSLCertificateKeyFile /etc/httpd/ssl/apache.key
If I configure the ocsinventory.ini on clients:
Server = https: //NAME.OFSERVER.PUBLISHED/ocsinventory
SSL = 1
CaBundle = cacert.pem
The inventory is collected correctly.
The problem is that if I configure the ocsinventory.ini:
Server = https: //NAME.OFSERVER.PUBLISHED/ocsinventory
SSL = 0
CaBundle =
It also collects the equipment data. Where am I failing in the configuration?