# Httpd wont start: Invalid command 'OIDCStateMaxNumberOfCookies' + Dex confusion

**URL:** <https://discourse.openondemand.org/t/httpd-wont-start-invalid-command-oidcstatemaxnumberofcookies-dex-confusion/1112>\
**Category:** Get Help\
**Tags:** question\
**Created:** [September 11, 2020, 12:54am UTC](https://discourse.openondemand.org/t/httpd-wont-start-invalid-command-oidcstatemaxnumberofcookies-dex-confusion/1112 "2020-09-11T00:54:08Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![tdockendorf](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/tdockendorf/32/202_2.png) [@tdockendorf](https://discourse.openondemand.org/u/tdockendorf)\
**Post date:** [September 11, 2020, 2:30pm UTC](https://discourse.openondemand.org/t/httpd-wont-start-invalid-command-oidcstatemaxnumberofcookies-dex-confusion/1112/5 "2020-09-11T14:30:18Z")

</div>

I just verified with Vagrant that the necessary configs are working with CentOS 8. I had forgotten we do ship a newer mod\_auth\_openidc but it appears like I mistakenly did not include that in 1.8 repos. I think that’s the issue you were facing because the RHEL8 version of mod\_auth\_openidc is 2.3.7 which is too old to support `OIDCStateMaxNumberOfCookies`

I’d recommend updating to use the mod\_auth\_openidc shipped by OnDemand 1.8 repos:

```
dnf module disable mod_auth_openidc:2.3
yum update mod_auth_openidc
```

---

_[View the full topic](https://discourse.openondemand.org/t/httpd-wont-start-invalid-command-oidcstatemaxnumberofcookies-dex-confusion/1112)._
