Skip to content
Permalink
Browse files

Merge pull request #2 from docker/shipmod

Shipmod
  • Loading branch information
Jim Van Fleet
Jim Van Fleet committed Sep 13, 2016
2 parents 69eeb82 + 5d764df commit 6d069508c7e4589a88ce9535be150c513c769401
Showing with 18 additions and 1 deletion.
  1. +11 −1 Dockerfile
  2. +6 −0 container_files/etc/httpd/conf.d/ssl.conf
  3. +1 −0 container_files/etc/httpd/conf.modules.d/00-shib.conf
@@ -26,11 +26,21 @@ RUN curl -o /etc/yum.repos.d/security:shibboleth.repo \
&& rm /etc/httpd/conf.d/ssl.conf \
&& rm /etc/httpd/conf.d/userdir.conf \
&& rm /etc/httpd/conf.d/welcome.conf

# Add starters and installers
ADD ./container_files /opt

COPY httpd-shib-foreground /usr/local/bin/
COPY conf/attribute-map.xml /opt/etc/shibboleth/attribute-map.xml
COPY conf/inc-md-cert.pem /opt/etc/shibboleth/inc-md-cert.pem
COPY conf/shibboleth_keygen.sh /opt/bin/shibboleth_keygen.sh

#Added ssl default conf
RUN ln -s /opt/etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/ssl.conf

#Added shib module apache
RUN ln -s /opt/etc/httpd/conf.modules.d/00-shib.conf /etc/httpd/conf.modules.d/00-shib.conf
RUN ln -s /usr/lib64/shibboleth/mod_shib_24.so /etc/httpd/modules/mod_shib_24.so

EXPOSE 80 443
CMD ["httpd-shib-foreground"]
CMD ["httpd-shib-foreground"]
@@ -0,0 +1,6 @@
SSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialog
SSLSessionCache shmcb:/run/httpd/sslcache(512000)
SSLSessionCacheTimeout 300
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
SSLCryptoDevice builtin
@@ -0,0 +1 @@
LoadModule mod_shib /usr/lib64/shibboleth/mod_shib_24.so

0 comments on commit 6d06950

Please sign in to comment.
You can’t perform that action at this time.