Shibboleth (IdP) - Install and setup a Shibboleth Service Provider (SP) on Linux

This tutorial will set up the following environment. This assumes you have already installed the HTTPD web server.


At /etc/yum.repos.d/, create a file named security:shibboleth.repo.

touch /etc/yum.repos.d/security:shibboleth.repo


Add the following to the security:shibboleth.repo file.

name=Shibboleth (CentOS_7)


Use yum to install the Service Provider (SP). Only install the 32-bit or 64-bit version. Do not install both. Shibboleth will install at /etc/shibboleth.


~]# yum install shibboleth



~]# yum install shibboleth.x86_64


Edit the /etc/shibboleth/shibboleth2.xml and add the IP address of your domain to acl.

<Handler type="Status" Location="/Status" acl=" ::1"/>


The ps command can be used to determine if your system is using init or systemd. If PID 1 is init, then you will use the service command. If PID 1 is systemd, then you will use the systemctl command.

If your system is using systemd, use the systemctl command to start and enable shibd.

systemctl enable shibd
systemctl start shibd
systemctl status shibd


If your system is using init, use the chkconfig and service commands to start and enable shibd.

chkconfig shibd on
service shibd start
service shibd status


Edit /etc/httpd/conf/httpd.conf, and ensure ServerName is not commented out.



Edit /etc/httpd/conf.d/ssl.conf, and ensure ServerName is not commented out.



Assuming you have HTTPD installed and configured for HTTPS, restart HTTPD.

~]# systemctl restart httpd


You should now be able to get your SP metadata by navigating to

Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee

Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter b81f8 in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |