Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
themeRDark
titleInstall Apache, mod_ssl and Shibboleth
yum install httpd-2.4.54-1.codeit.el7 mod_ssl-1:2.4.54-1.codeit.el7 shibboleth-3.3.0-1

Install

...

Key and Certificate in Apache

...

  • acquire a

...

  • TLS certificate from your CA (certificate authority) of choice; letsencrypt.org is a popular free option
  • upload (via ftp, scp, or similar) your private key and certificate files and enable them in Apache as described here

Verify Installation

The Apache configuration files should be in /etc/httpd/

...

The Tomcat configuration files should be in /opt/shrine/tomcat/conf and /opt/shrine/tomcat/lib

Starting and Restarting the Software

The appropriate software must be restarted whenever the configuration is modified.

Tomcat

Restart when server.xml, shrine.conf or override.conf are modified

Starting Tomcat:

Code Block
languagebash
themeRDark
titleStarting Tomcat
sudo -u shrine bash

cd /opt/shrine/tomcat

./bin/startup.sh

To deploy a new WAR file:

Code Block
languagebash
themeRDark
titleDeploying a new WAR file
sudo -u shrine bash

./bin/shutdown.sh

rm -fr ./webapps/shrine api*

cp <Shrine war file> ./webapps

./bin/startup.sh

Shibboleth

(Re)start when shibboleth2.xml or other Shibboleth configuration files are modified.

Code Block
languagebash
themeRDark
title(Re)start Shibboleth
sudo -u root bash

service shibd (re)start

service httpd (re)start

Apache

Restart after restarting Shibboleth; or when there is a change in Apache configuration.

Code Block
languagebash
themeRDark
title(Re)start Apache httpd
sudo -u root bash

service httpd (re)start

Next Step:

Fast forward: SHRINE 4.0.0 Appendix A.2 - Quick Configuration (quicker)

or

SHRINE 4.0.0 Appendix A.3 - More Details : Shibboleth Configuration (explained in more detail)