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.