debian - Apache restart failed after adding OpenID Connect module -
i use debian 8.0 running apache v.2.4.10 , try add openid connect module named libapach2-mod-auth-openidc
version 1.6.0. after installing module, enable command: sudo a2enmod auth_openidc
. works fine , want restart apache server sudo service apache2 restart
, leads me error
"job apache2 failed. see 'systemctl status apache2.service' , 'journalctl -xn' details."
the result of systemctl status apache2.service
shows error while starting server, no detailed information of error (code=exited, status=1/failure).
and result of journalctl -xn
tells, there no journals.
so if disabling auth_openidc
module, apache server starts again without problems.
details of configuration:
- apache runs default settings. did not change anything!
auth_openidc
module not changed me neither @ time!
can explain why apache enabled auth_openidc
module not start anymore?
after installing libapache2-mod-auth-openidc
have configure settings before module can used successfully. 2 of mandatory settings oidcredirecturi
, oidccryptopassphrase
. you'll have configure client credentials openid connect provider. can take @ sample configurations at: https://github.com/pingidentity/mod_auth_openidc#openid-connect-sso-with-google-sign-in
errors/warnings missing configuration directives should displayed in: /var/log/apache2/error.log
while we're @ it, advise use latest version 1.8.1 https://github.com/pingidentity/mod_auth_openidc/releases
Comments
Post a Comment