Document toolboxDocument toolbox

(2022.1) Installing Shibboleth

Install the Shibboleth Repo

Install using RPM: https://wiki.shibboleth.net/confluence/display/SP3/RPMInstall

  1. Visit https://shibboleth.net/downloads/service-provider/RPMS/, choose your platform, then click Generate
  2. Copy generated content to /etc/yum.repos.d/shibboleth.repo
  3. Run this command
sudo yum install shibboleth

Ubuntu

sudo apt-get update

# < 22.04
sudo apt-get install libapache2-mod-shib2
# 22.04
sudo apt-get install libapache2-mod-shib

sudo a2enmod shib

sudo a2enmod expires

cd /etc/shibboleth

shib-keygen -h <CUSTOMER_HOST_NAME>
mv sp-cert.pem sp-signing-cert.pem; mv sp-key.pem sp-signing-key.pem

shib-keygen -h <CUSTOMER_HOST_NAME>
mv sp-cert.pem sp-encrypt-cert.pem; mv sp-key.pem sp-encrypt-key.pem

cp shibboleth2.xml shibboleth2.xml.dist; cp attribute-map.xml attribute-map.xml.dist

RedHat

# Install the Repo

# CentOS 7 and RHEL 7  
wget -O /etc/yum.repos.d/shibboleth.repo https://shibboleth.net/cgi-bin/sp_repo.cgi?platform=CentOS_7

#CentOS 8 and RHEL 8
wget -O /etc/yum.repos.d/shibboleth.repo https://shibboleth.net/cgi-bin/sp_repo.cgi?platform=CentOS_8

# Install Shibboleth
yum install shibboleth

# Enable shibboleth
systemctl enable shibd