Shibboleth

Instalacja SP:

najpierw pobieramy potrzebny stuff

wget -c http://shibboleth.internet2.edu/downloads/shibboleth/cppsp/latest/shibboleth-sp-2.1.tar.gz
wget -c http://shibboleth.internet2.edu/downloads/log4shib/1.0.1/log4shib-1.0.1.tar.gz
wget -c http://shibboleth.internet2.edu/downloads/opensaml/cpp/latest/opensaml-2.1.tar.gz
wget -c http://ftp.tpnet.pl/vol/d1/apache/xerces/c/2/sources/xerces-c-src_2_8_0.tar.gz
wget -c http://xml.apache.org/security/dist/c-library/xml-security-c-1.4.0.tar.gz

next….
tar -xf opensaml-2.1.tar.gz 
tar -xf log4shib-1.0.1.tar.gz 
tar -xf xerces-c-src_2_8_0.tar.gz 
tar -xf xml-security-c-1.4.0.tar.gz 
tar -xf xmltooling-1.1.tar.gz 
tar -xf shibboleth-sp-2.1.tar.gz

najsamwpierw

export XERCESCROOT=/.../xerces-c-src_2_8_0

and next…
cd log4shib-1.0.1/
./configure --disable-static --disable-doxygen --prefix=/siakis_path/shibboleth-sp
make && make install

cd xerces-c-src_2_8_0/src/xercesc/
./runConfigure -p linux -r pthread -P /.../shibboleth-sp
make && make install

cd xml-security-c-1.4.0/
./configure --without-xalan --prefix=/.../shibboleth-sp --with-xerces=/.../shibboleth-sp
make && make install

cd xmltooling-1.1/
./configure --with-log4shib=/.../shibboleth-sp --prefix=/.../shibboleth-sp -C --with-xerces=/.../shibboleth-sp --with-xmlsec=/.../shibboleth-sp/ --with-curl=/.../openid/curl
make && make install

cd opensaml-2.0/
 ./configure --with-log4shib=/.../shibboleth-sp --prefix=/.../shibboleth-sp -C --with-xerces=/.../shibboleth-sp --with-xmlsec=/.../shibboleth-sp/ --with-xmltooling=/.../shibboleth-sp/ -C
make && make install

cd shibboleth-2.1/
 CC=i486-linux-gnu-gcc ./configure --with-log4shib=/.../shibboleth-sp --prefix=/.../shibboleth-sp/ --enable-apache-22 --with-apxs2=/usr/bin/apxs2
make && make install

Konfiguracja

W pliku /etc/apache2/httpd.conf dodać wpis:

Include /.../shibboleth-sp/etc/shibboleth/apache22.config

Stronka z dokumentacją
Ciekawski artykuł

Dicovery Service Installation

wget -c http://shibboleth.internet2.edu/downloads/shibboleth/discovery/latest/shibboleth-discovery-service-1.1.0-bin.tar.gz
Jeśli nie zaznaczono inaczej, Zawartość tej strony dostępna jest na licencji Creative Commons Attribution-ShareAlike 3.0 License