In Progress [ZC-7091] cPanel Apache and mod_auth_openidc

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,295
1,273
313
Houston
  • Like
Reactions: woddy

davidgs

Registered
Sep 8, 2021
3
2
3
Apex, NC
cPanel Access Level
Root Administrator
I checked the case and spoke with that team and there currently are not plans to implement this. The case is still open, but it's not actively being worked on at this time.
Is it possible that, if they can't implement this, that they can at least find a workaround? I've tried an awful lot of stuff to get this installed, and it is pretty stubborn. :)

Thanks!
dg
 

davidgs

Registered
Sep 8, 2021
3
2
3
Apex, NC
cPanel Access Level
Root Administrator
If anyone else is seeking a workaround, I seem to have found one.

First, download the package for `ea-mod_auth_openidc` here: https://mirrorcache.opensuse.org/re...sit_kpoole/AgilisIT_CentOS-7_Standard/x86_64/
but do not install it. Installing it using rpm/yum will succeed, but it will also break apache.

Instead, extract the package:
Code:
$ mkdir test
$ cd test
$ wget https://mirrorcache.opensuse.org/repositories/home:/agilisit_kpoole/AgilisIT_CentOS-7_Standard/x86_64/ea-apache24-mod_auth_openidc-2.2.0-1.89.el7.x86_64.rpm
$ rpm2cpio ea-apache24-mod_auth_openidc-2.2.0-1.89.el7.x86_64.rpm | cpio -idmv
$ cp usr/lib64/apache2/modules/mod_auth_openidc.so  /etc/apache2/modules/
$ cp etc/apache2/conf.modules.d/mod_auth_openidc.conf /etc/apache2/conf.modules.d/
$ apachectl restart
The rpm wants to install the library module in /usr/lib64/apache2/modules which is not the path that ea-apache seems to want to use.

I'm still configuring it for use, but at least so far, this will load and continue to run.
 
  • Like
Reactions: cPJustinD