Versions Compared

Key

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

...

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

Code Block
languagebash
sudo yum install shibboleth

Ubuntu

Code Block
languagebash
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

Code Block
# 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

#RockyLinux 9 and RHEL 9
wget -O /etc/yum.repos.d/shibboleth.repo https://shibboleth.net/cgi-bin/sp_repo.cgi?platform=rockylinux9

# Install Shibboleth
yum install shibboleth

# Enable shibboleth
systemctl enable shibd

...