Skip to content

Example app with Shibboleth SAML2.0 SSO for federated access to NRENs IdPs

License

Notifications You must be signed in to change notification settings

cimermanGregor/shibd_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AAI Shibboleth in docker container

Shibbolet SP in a container form factor.

For running one must run docker-compose command which builds and sets up two containers; Shibboleth and Apache web server. Containers are based on CentOS 7 OS and configuration is done for Slovenian NREN; Arnes.

Run

  1. Start docker containers
docker-compose up -d
  1. Set example.com resolving to localhost to use application over https. SSL is mendatory. Example entry in /etc/hosts
127.0.0.1 example.com
  1. Register new application with the federation. Obtaining metadata can be done by pointing browser to standard Shibboleth metadata URL: https://example.com/Shibboleth.sso/Metadata. Login can be issued only when the Service Provider is registerd to the federation or manually added to IdP.

  2. Test the application with following URLs:

Change & update

Configure following files:

  • httpd/vhost.conf
  • shibd/shibboleth2.xml
  • shibd/sp-cert.pem
  • shibd/sp-key.pem

Note that some browsers can create https loop due to SSL certificate change on every "docker-compose up -d --build". In this case restart the browser.

These docker containers were tested on OS X where containers run in 172.17.01 network. If this differs from your environment update parameter clientAddress="172.17.0.1" in httpd/Dockerfile file.

Disclaimer

Do not run this in production! This can only be used for demonstration or testing purposes.

License

GPLv3

About

Example app with Shibboleth SAML2.0 SSO for federated access to NRENs IdPs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published