2

I want OIDC implementation with my application for SSO integration, and getting an error when trying to execute httpd.exe. I am using windows server 2008 64 bit. Apache server 2.4.2 64 bit.

I have downloaded mod_auth_openidc.so for 64 bit downloaded from here - click here.

I have performed these steps:

Step 1.Downloaded apache 64 bit from here -apache_2.4.2-x64-no-ssl.msi.

Step 2.Downloaded mod_auth_openidc-2.2.0-apache-2.4.x-win64.zip from Git hub - click here

Step 3. Unzipped the file and copied the files to bin and modules location of my apache server respectively.

Step 4. Added the LoadModule auth_openidc_module modules/mod_auth_openidc.so in httpd.conf file present in conf folder in apache.

Step 5. Now when I try to run the apache server(httpd.exe) it gives me an error. error screenshot here -enter image description here.

error line from httd.conf file from conf folder -enter image description here.

Please help! Thanks in advance.

Please let me know if I can answer your any query.

Samir
  • 6,658
  • 3
  • 16
  • 27
  • I believe mod_auth_openidc.so is the paid version for windows. Not surprising the freely available on doesn't work from scratch – user1767316 Apr 10 '19 at 16:28
  • mod_auth_openidc.so for windows might be commercial as suggested [here](https://github.com/zmartzone/mod_auth_openidc/releases) – user1767316 Apr 10 '19 at 16:34

2 Answers2

0

LoadModule uses a path to load a module, if the path is relative, as in your case, it will be relative to the value in ServerRoot directive.

Since you have manually installed this third party module, you probably should define with full filesystem path to it.

Since you say you copied there already, make sure you are pointing to the correct installation.

Daniel Ferradal
  • 2,727
  • 1
  • 13
  • 19
0

It may be a compiler issue; I used binaries from: https://www.apachehaus.com/cgi-bin/download.plx

It may also be due to the version of msvcr120.dll:

mod_auth_openidc library requires msvcr120.dll which is the newer version of Microsoft VC ++. It looks for this file. We used dependency walker software to see the tree and what are the required files for the mod_auth_openidc.iso. It showed missing msvcr120.dll file. We had to update the current vc++ which added this missing dll in the windows\System32 folder. and we could restart the server.

See: https://github.com/pingidentity/mod_auth_openidc/issues/275#issuecomment-305302587

Hans Z.
  • 50,496
  • 12
  • 102
  • 115