diff --git a/Workbench/configs-and-secrets/grouper/httpd/shib.conf b/Workbench/configs-and-secrets/grouper/httpd/shib.conf new file mode 100644 index 0000000..9c33671 --- /dev/null +++ b/Workbench/configs-and-secrets/grouper/httpd/shib.conf @@ -0,0 +1,54 @@ +# https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPApacheConfig + +# RPM installations on platforms with a conf.d directory will +# result in this file being copied into that directory for you +# and preserved across upgrades. + +# For non-RPM installs, you should copy the relevant contents of +# this file to a configuration location you control. + +# +# Load the Shibboleth module. +# +LoadModule mod_shib /usr/lib64/shibboleth/mod_shib_24.so + +# +# Turn this on to support "require valid-user" rules from other +# mod_authn_* modules, and use "require shib-session" for anonymous +# session-based authorization in mod_shib. +# +ShibCompatValidUser Off + +# +# Ensures handler will be accessible. +# + + AuthType None + Require all granted + SetHandler shib + + +# +# Used for example style sheet in error templates. +# + + + AuthType None + Require all granted + + Alias /shibboleth-sp/main.css /usr/share/shibboleth/main.css + + +# +# Configure the module for content. +# +# You MUST enable AuthType shibboleth for the module to process +# any requests, and there MUST be a require command as well. To +# enable Shibboleth but not specify any session/access requirements +# use "require shibboleth". +# + + AuthType shibboleth + ShibRequestSetting requireSession 1 + require shib-session + diff --git a/Workbench/configs-and-secrets/grouper/shibboleth/shibboleth2.xml b/Workbench/configs-and-secrets/grouper/shibboleth/shibboleth2.xml old mode 100644 new mode 100755 index 0c38f82..6389055 --- a/Workbench/configs-and-secrets/grouper/shibboleth/shibboleth2.xml +++ b/Workbench/configs-and-secrets/grouper/shibboleth/shibboleth2.xml @@ -34,7 +34,7 @@ Note that while we default checkAddress to "false", this has a negative impact on the security of your site. Stealing sessions via cookie theft is much easier with this disabled. --> - @@ -25,14 +21,13 @@ and do *NOT* provide it in real time to your partners. - - + + sp.example.org - CN=sp.example.org,O=Internet2/TIER,L=Ann Arbor,ST=MI,C=US MIIDPDCCAiQCCQDNZe8r0hVtuTANBgkqhkiG9w0BAQUFADBgMQswCQYDVQQGEwJV UzELMAkGA1UECAwCTUkxEjAQBgNVBAcMCUFubiBBcmJvcjEXMBUGA1UECgwOSW50 ZXJuZXQyL1RJRVIxFzAVBgNVBAMMDnNwLmV4YW1wbGUub3JnMB4XDTE3MDkyMjE5 @@ -64,15 +59,15 @@ Z75p+JrWYZJYrx/vpWxL8g== - - - - - - - - - + + + + + + + + + diff --git a/Workbench/idp/shibboleth-idp/metadata/midpoint-sp.xml b/Workbench/idp/shibboleth-idp/metadata/midpoint-sp.xml index 5789ed8..b04e2e1 100644 --- a/Workbench/idp/shibboleth-idp/metadata/midpoint-sp.xml +++ b/Workbench/idp/shibboleth-idp/metadata/midpoint-sp.xml @@ -25,8 +25,8 @@ and do *NOT* provide it in real time to your partners. - - + + @@ -64,8 +64,8 @@ AIW0+dXJ2IyzM+0sv2g4DOsXsnSvinGqjr82A54mXGSr7edhPdlQhILFkJfhTwLq+mjnyQSNe3s2 - - + + diff --git a/Workbench/midpoint_server/Dockerfile b/Workbench/midpoint_server/Dockerfile index 34ce0cd..33f4f5b 100644 --- a/Workbench/midpoint_server/Dockerfile +++ b/Workbench/midpoint_server/Dockerfile @@ -3,6 +3,7 @@ FROM tier/midpoint:latest MAINTAINER info@evolveum.com ENV MP_DIR /opt/midpoint +ENV MP_MEM_MAX 2048m VOLUME ${MP_DIR}/var diff --git a/Workbench/webproxy/container_files/httpd/proxy.conf b/Workbench/webproxy/container_files/httpd/proxy.conf index 259d807..de6773b 100644 --- a/Workbench/webproxy/container_files/httpd/proxy.conf +++ b/Workbench/webproxy/container_files/httpd/proxy.conf @@ -1,9 +1,28 @@ #Proxy config SSLProxyEngine on +SSLProxyVerify none +SSLProxyCheckPeerCN off +SSLProxyCheckPeerName off +SSLProxyCheckPeerExpire off +ProxyPreserveHost On + ProxyPass /midpoint https://midpoint-server/midpoint +ProxyPassReverse /midpoint https://midpoint-server/midpoint + ProxyPass /grouper https://grouper-ui/grouper +ProxyPassReverse /grouper https://grouper-ui/grouper +ProxyPass /grouperSSO https://grouper-ui/grouperSSO +ProxyPassReverse /grouperSSO https://grouper-ui/grouperSSO + ProxyPass /grouper-ws https://grouper-ws/grouper-ws -ProxyPass /idp https://idp/ +ProxyPassReverse /grouper-ws https://grouper-ws/grouper-ws + +ProxyPass /idp https://idp/idp +ProxyPassReverse /idp https://idp/idp + ProxyPass /rabbit https://mq:15672/ +ProxyPassReverse /rabbit https://mq:15672/ + ProxyPass /comanage https://comanage/ +ProxyPassReverse /comanage https://comanage/