Skip to content

⛴️🔐 Docker container for hosting a SAML SP with Apache + Shibboleth SP3

Notifications You must be signed in to change notification settings

hexaaproject/docker-apache-shib

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

apache2-shib

Docker image for Apache2.4 + Shibboleth3 (SP). Allows hosting web applications with SAML SSO authentication.

Forked from solazs/docker-apache-shib

The built image is available on Docker Hub

Building

docker build -t hexaaproject/apache-shib .

Usage

You can see an example config in the HEXAA frontend Ansible role

Mount your Apache config to /etc/sites-enabled/000-default.conf (more config files can be mounted under /etc/sites-enabled/).

Mount any Shibboleth config files under /etc/shibboleth/ to override the default config. Don't forget to mount your own certs and keys (/opt/certs-shib) for Shibboleth to use or enable generating at startup.

Available environment variables:

  • APACHE_SHIB_APACHE_MODULES_TO_START: default value: "shib ssl" - which modules to "a2enmod" before starting.
  • APACHE_SHIB_APACHE_START_SHIB: default value: "true" - whether to start Shibboleth or not (valuable for development, as a Shibboleth session can be mocked through SetEnv in an Apache config).
  • APACHE_SHIB_SHIB_GENERATE_KEY: default value: 0 - set to 1 to allow generating Shibboleth keys at startup.
  • APACHE_SHIB_SHIB_{HOSTNAME,ENTITY_ID}: Hostname and entity ID used for generating Shibboleth cert.

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 58.5%
  • Shell 41.5%