Linux @ CERN

CERN > IT > Linux

Windows Single Sign On (SSO) / CERN Authentication integration on CentOS CERN / Apache and Shibboleth.

About CERN Single Sign On and Shibboleth


Installation

As root on your system run:
# yum install shibboleth
(above command will pull in all dependencies for above packages,
including: log4shibm xmltooling-schemas opensaml-schemas curl-openssl, xerces-c, xml-security-c, opensaml and log4cpp
coming from 'cern' repository for CC7

Note: The SELinux policy has not been implemented for Shibboleth 2 therefore SELinux must be changed to run in permissive mode on your system for Single Sign On to work. For this please edit /etc/sysconfig/selinux file, and replace the line:
SELINUX=enforcing
by
SELINUX=permissive
Next reboot your system or run:
/usr/sbin/setenforce Permissive
for the change to take effect.
CC7 libcurl is precompiled against NSS, while shibboleth requires a libcurl compiled agains OpenSSL: the curl-openssl packages provide such modified version of libcurl library which is installed in parallel to the standard curl libraries.

In order to make shibboleth daemon use this library, edit /etc/sysconfig/shibd file and insert there following two lines:

LD_PRELOAD=/opt/shibboleth/lib64/libcurl.so.4
export LD_PRELOAD
(change lib64 to lib for installation on a 32bit system)
this is not needed , updated shibboleth packages will use a special libcurl-openssl version solving the problem.

Configuration for CERN Single Sign On