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.11.1 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

OCS Guide for SSL setup

Is there a guide for how to set up SSL on OCS? I tried editing the z-ocsinventory-server.conf file in /etc/apache2/conf-available and I get an error when restarting Apache.

This is what I have configured so far:  

#SSL apache settings
  SSLEngine "SSL_ENABLE"
  SSLCertificateFile "/etc/ssl/wildcard_new.crt"
  SSLCertificateKeyFile "/etc/ssl/wildcard_new.key"
  #SSLCACertificateFile "SSL_CERTIFICATE_FILE"
  #SSLCACertificatePath "SSL_CERTIFICATE_PATH"
  #SSLVerifyClient "SSL_VALIDATE_CLIENT"

The error I get when starting Apache is:

Oct 05 18:53:29 ocs systemd[1]: Starting The Apache HTTP Server...
Oct 05 18:53:29 ocs apachectl[13993]: AH00526: Syntax error on line 302 of /etc/apache2/conf-enabled/z-ocsinventory->
Oct 05 18:53:29 ocs apachectl[13993]: Argument must be On, Off, or Optional
Oct 05 18:53:29 ocs apachectl[13979]: Action 'start' failed.
Oct 05 18:53:29 ocs apachectl[13979]: The Apache error log may have more information.
Oct 05 18:53:29 ocs systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
Oct 05 18:53:29 ocs systemd[1]: apache2.service: Failed with result 'exit-code'.
Oct 05 18:53:29 ocs systemd[1]: Failed to start The Apache HTTP Server.

Any tips? I haven't changed any of the settings in /etc/apache2/sites-available/000-default.conf or default-ssl.conf files. 
in OCS Inventory NG server for Unix by (120 points)

1 Answer

0 votes
by (22.6k points)
 
Powered by Question2Answer
...