diff options
author | Johan Lundberg <lundberg@nordu.net> | 2015-04-28 16:37:59 +0200 |
---|---|---|
committer | Johan Lundberg <lundberg@nordu.net> | 2015-04-28 16:37:59 +0200 |
commit | b1d04634a031913e9e18cfe794143a7f3974ff19 (patch) | |
tree | ad316d118ec5379c044cbc309c0043636926cf0b | |
parent | 9c382611b69cf48e4063395b6bd84c8733b9dc67 (diff) |
Added some documentation.
-rw-r--r-- | README | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -1,11 +1,18 @@ -How to create p12 keystore +How to create p12 keystore: -Set JETTY_TLS_PASSWORD as keystore password -openssl pkcs12 -export -out certificate.pfx -inkey privateKey.key -in certificate.crt -certfile CACert.crt +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/edit-webapp/:/opt/shibboleth-idp/edit-webapp/ -v docker-shibboleth-idp/logs/:/opt/jetty/logs/ shibboleth-idp3 install How to run: -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/edit-webapp/:/opt/shibboleth-idp/edit-webapp/ -v docker-shibboleth-idp/logs/:/opt/jetty/logs/ shibidp install +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/edit-webapp/:/opt/shibboleth-idp/edit-webapp/ -v docker-shibboleth-idp/logs/:/opt/jetty/logs/ -p 443:8443 shibidp +$ 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/edit-webapp/:/opt/shibboleth-idp/edit-webapp/ -v docker-shibboleth-idp/logs/:/opt/jetty/logs/ -p 443:8443 shibboleth-idp3 |