Giter Site home page Giter Site logo

d-shibidp's Introduction

Shibboleth IDP V3 docker image

Overview

This Docker image contains a deployed Shibboleth IdP 3 running on Java 8 JRE and Jetty 9.3.3 running on the latest CentOS 7 base. Buld + run with docker-compose

Configure & run

# run the IDP's install script (keep the defaults for the source and installation directories)
# this will throw away the container, but the config files are kept on the docker host
docker-compose -f dc.yaml run --rm /opt/scripts/install_idp.sh  

# now configure /opt/jetty-base and /etc/shibboleth-idp
. use idp.home/metadata/idp-metadata.xml to create a reasonable metadata file and upload it to the metadata feed
. configure the metadata provider (local via file system or well-know location URL)
. configure jetty certificates (jetty-base/start.d/ssl.ini, backchannel.ini)  
. attribute-filter, -resolver; idp.properites; ldap.properties 
. optional: redirect logfiles to /var/log: see logback.xml (both jetty and shib-idp
. if running with a reverse proxy (load balancer) fronting the IDP you need to tell jetty to
  activate the ForwardedRequestCustomize class (see example install/jetty-base/etc/jetty.xml)
. optionally copy jstl-1.2.jar to /opt/shibboleth-idp/edit-webapp/WEB-INF/lib (-> for idp/status page)

# start jetty
docker-compose -f dc.yaml run --rm shibidp bash 

# To effect changes to the idp.war file:
docker-compose -f dc.yaml run --rm shibidp /scripts/rebuild_idp_war.sh

# test attribute release for user 'eid-test'
curl 'http://localhost:8080/idp/profile/admin/resolvertest?principal=eid-test&requester=https%3A%2F%2Fsp.example.org%2Fsp'

Other Entrypoints

/scripts/create_idp_cert.sh   # create a new singing and/or encryption certificate
/scripts/seckey_init.sh       # create a new data sealer keystore (e.g. after copying config form other deployment)
/scripts/seckey_refresh.sh    # call daily to create a new data sealer key 

Upgrade to new version of Shibboleth, Jetty and/or Oracle JRE

  • Update Dockerfile Oracle Java ENV variables
  • build

References

d-shibidp's People

Contributors

rhoerbe avatar

Watchers

James Cloos avatar  avatar

d-shibidp's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.