Using RHEL 8.2 and RPM installed OnDemand 1.8, I can’t get the Apache server to start.
The error I’m seeing is
httpd: AH00526: Syntax error on line 93 of /etc/httpd/conf.d/ood-portal.conf: httpd: Invalid command 'OIDCStateMaxNumberOfCookies', perhaps misspelled or defined by a module not included in the server configuration
Google is failing to find anything notable, I can get Apache to start if I comment the line out, but I’d prefer to get this working properly.
I’ve done the bare minimum changes cf our working 1.7 installation on CentOS 8.2, following the details here
I have confirmed that
/etc/httpd/conf.modules.d/10-auth_openidc.conf loads the correct module.
Am also concerned that I have no idea what’s meant to go into a
https://url:5556/.well-known/openid-configuration file, nor where that file should be - where is Dex served from? Is it
/var/www/? - and don’t seem to be able to find clear documentation to that end.
The configuration process performed by
update_ood_portal has automatically filled that url with the hostname of the machine in question, but I am now suspecting that the relatively well hidden line in the 1.8 documentation " * A OIDC IdP server deployed, e.g.,
idp.example.com (outside of scope of this document)" might be excluding me - unless that’s the role that Dex plays?
I will continue reading, but would appreciate help on the first hurdle - why is OIDCStateMaxNumberOfCookies throwing an error?