Skip to content
Snippets Groups Projects
Forked from cnafsd / ngx_http_voms_module
349 commits behind the upstream repository.
user avatar
Francesco Giacomini authored
cf553629
History
Name Last commit Last update
src
t
.clang-format
.gitignore
LICENSE
README.md
config

ngx_http_voms_module

Description

ngx_http_voms_module is a module for the NGINX web server that enables client-side authentication based on X.509 proxies augmented with Attribute Certificates, typically obtained through a Virtual Organization Membership Service (VOMS).

Installation

The generic installation instructions are:

$ cd nginx-1.x.y
$ ./configure --add-module=/path/to/ngx_http_voms_module
$ make && make install

A Docker image is available for use in the context of the StoRM2 project, where the OpenResty distribution is used:

$ docker run --rm -it -v /path/to/ngx_http_voms_module:/home/build/ngx_http_voms_module storm2/ngx-voms-build
% cd openresty-1.x.y
% ./configure ${resty_config_options} --add-module=../ngx_http_voms_module
% make && make install

Variables

The module makes the following variables available for use in an NGINX configuration file:

voms_fqans

A comma-separated list of Fully Qualified Attribute Names

voms_user

user DN

voms_user_ca

user CA

voms_server

server DN

voms_server_ca

server CA

voms_vo

VO name

voms_server_uri

VOMS server URI

voms_not_before

not-before

voms_not_after

not-after

voms_generic_attributes

generic attributes

voms_serial

serial number

Testing

Setup and files to test the ngx_http_voms_module are contained in the t folder.