Home > Development > Installing Shibboleth 2.x SP on Red Hat 4

Installing Shibboleth 2.x SP on Red Hat 4

I was tasked with reviewing solutions for implementing SAML into our applications. The first thing I tried was Shibboleth.

I had to download the following dependent packages for the installation of the Service Provider(SP):

  • liblog4shib1-1.0.4-2.2.el4.i386.rpm
  • libsaml7-2.4-2.3.i386.rpm
  • libxerces-c-3_1-3.1.1-2.2.el4.i386.rpm
  • libxerces-c-3_1-3.1.1-2.2.el4.i386.rpm.1
  • libxml-security-c16-1.6.0-4.2.el4.i386.rpm
  • libxmltooling5-1.4-2.2.i386.rpm
  • opensaml-schemas-2.4.1-2.1.el4.i386.rpm
  • shibboleth-2.4-2.2.i386.rpm
  • xmltooling-schemas-1.4.1-2.1.el4.i386.rpm


  1. rpm -Uvh liblog4shib1-1.0.4-2.2.el4.i386.rpm
  2. rpm -Uvh libxerces-c-3_1-3.1.1-2.2.el4.i386.rpm
  3. rpm -Uvh libxml-security-c16-1.6.0-4.2.el4.i386.rpm
  4. rpm -Uvh xmltooling-schemas-1.4.1-2.1.el4.i386.rpm
  5. rpm -Uvh opensaml-schemas-2.4.1-2.1.el4.i386.rpm
  6. rpm -Uvh libxmltooling5-1.4-2.2.i386.rpm
  7. rpm -Uvh libsaml7-2.4-2.3.i386.rpm
  8. rpm -Uvh shibboleth-2.4-2.2.i386.rpm

Now that the installation over its time to configure.


I’m having problems with the install. The Shibboleth RPM creates an .so file for the native OS installation of Apache regardless of whatever you may have installed. In my case the OS installed version of Apache is 2.0 but I am running 2.2. According to threads I have found on mailing lists the only way to fix this is to rebuild the RPMs.

** UPDATE 06-08-2011

I have decided to find another way to implement SAML. I cannot get Shibboleth to install the proper version of this file: mod_shib_22.so it always installs mod_shib_20.so

I tried the following:

  • Build Shibboleth and its dependencies from source.
  • Rebuild the RPMs from the SRPM file.
  • Build a new server from scratch without Apache.

All failed.

** UPDATE 06-28-2011

I decided to give this another attempt using CentOS5. All went exactly as planned and my IdP was able to connect to a configured SP.

Leave a Reply


Listed below are links to weblogs that reference
Installing Shibboleth 2.x SP on Red Hat 4 from rhythmicalmedia.com