https://github.com/nordunet/docker-shibboleth-idp
Dockerized Shibboleth IdP 3
https://github.com/nordunet/docker-shibboleth-idp
Last synced: 4 months ago
JSON representation
Dockerized Shibboleth IdP 3
- Host: GitHub
- URL: https://github.com/nordunet/docker-shibboleth-idp
- Owner: NORDUnet
- Created: 2015-04-28T14:20:20.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-12-14T15:18:59.000Z (over 8 years ago)
- Last Synced: 2024-12-30T22:42:17.542Z (6 months ago)
- Language: Java
- Size: 41 KB
- Stars: 2
- Watchers: 9
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
How to create p12 keystore:
Set JETTY_TLS_PASSWORD (see below) as keystore password.
$ openssl pkcs12 -export -out docker-shibboleth-idp/credentials/idp-browser.p12 -inkey privateKey.key -in certificate.crt -certfile CACert.crt
How to install:
Install a fresh IdP with empty directories volume mounted or upgrade from version 2 by volume mounting existing conf and credentials directories.
$ docker run -it -e ENTITY_ID=entityid -e HOSTNAME=hostname -e SCOPE=scope -e COOKIE_PASSWORD=cookiepass -e IDP_TLS_PASSWORD=tlspass -v docker-shibboleth-idp/conf/:/opt/shibboleth-idp/conf/ -v docker-shibboleth-idp/credentials/:/opt/shibboleth-idp/credentials/ -v docker-shibboleth-idp/metadata/:/opt/shibboleth-idp/metadata/ -v docker-shibboleth-idp/edit-webapp/:/opt/shibboleth-idp/edit-webapp/ -v docker-shibboleth-idp/logs/:/opt/jetty/logs/ shibboleth-idp3 install
How to run:
Make sure you volume mount the existing directories from the above installation. When the container starts a new .war file will be created.
$ docker run -d -e JETTY_TLS_PASSWORD=tlspass -v docker-shibboleth-idp/conf/:/opt/shibboleth-idp/conf/ -v docker-shibboleth-idp/credentials/:/opt/shibboleth-idp/credentials/ -v docker-shibboleth-idp/metadata/:/opt/shibboleth-idp/metadata/ -v docker-shibboleth-idp/edit-webapp/:/opt/shibboleth-idp/edit-webapp/ -v docker-shibboleth-idp/logs/:/opt/jetty/logs/ -p 443:8443 shibboleth-idp3