forked from OpenIDC/mod_auth_openidc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
46 lines (31 loc) · 1.35 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
You can download binaries for the latest release from:
https://github.com/pingidentity/mod_auth_openidc/releases
If your platform is not supported you can build from source as
described below.
Installation from source
========================
You will require development headers and tools for the following
dependencies:
Apache (>=2.0),
OpenSSL (>=0.9.8) (>=1.0 for Elliptic Curve support)
Curl (>=?)
Jansson (>=2.0) (JSON parser for C)
Configure, make and install with:
./configure --with-apxs2=/opt/apache2/bin/apxs2
make
make install
Note that, depending on your distribution, apxs2 may be named apxs.
Edit the configuration file for your web server. Depending on
your distribution, it may be named '/etc/apache/httpd.conf' or something
different.
You need to add a LoadModule directive for mod_auth_openidc. This will
look similar to this:
LoadModule auth_openidc_module /usr/lib/apache2/modules/mod_auth_openidc.so
To find the full path to mod_auth_openidc.so, you may run:
apxs2 -q LIBEXECDIR
This will print the path where Apache stores modules. mod_auth_openidc.so
will be stored in that directory.
After you have added the LoadModule directive, you must add the configuration
for mod_auth_openidc. For a quickstart doing so, see the provided samples
in the README file.
For an exhaustive overview of all configuration primitives, see: auth_openidc.conf