Version 2, last updated by henrikau at March 02, 2010 UTC

The debian-package for Confusa is generously hosted by the University of Tilburg. The repository with instructions can be found here.

To add the repository, create a file

/etc/apt/sources.list.d/uvt.list

and add the following line to it:

deb http://non-gnu.uvt.nl/debian lenny confusa simplesamlphp

Then it is time to install all required packages:


sudo aptitude update
sudo aptitude install apache2 libapache2-mod-php5 php5 \
        php5-common php5-common php5-mcrypt php5-mysql \
        php5-curl php-pear mysql-client-5.0 mysql-common \
        mysql-server-5.0 openssl openssl-blacklist
sudo pear install MDB2_Driver_mysql

Now that all required programs and libraries are installed, you will have to configure a few things. First off, apache. You should enable ssl

a2enmod ssl

This means you should also configure an SSL-certificate to use. This is not documented here, there are numerous sites= on the ’Net that provide a good and thorough guide for this.

You should then add the directory containing simplesamlphp and confusa. Something along these lines:


       Alias /simplesamlphp "/usr/share/simplesamlphp/www/"
       Alias /confusa           "/usr/share/confusa/www/"
       <Directory "/usr/share/confusa/www">
                SSLVerifyClient optional_no_ca
                Options Indexes MultiViews
                AllowOverride None
                Order allow,deny
                Allow from all
       </Directory>

Configuring SimpleSAMLphp is also outside the scope of this document. See RnD Feide.

Navigate to /usr/share/confusa/ and run the install-script:

sudo ./bin/install.sh

This will navigate you through the installation procedure, and once completed, only a few item remains, namely Connecting your NREN to the TCS-portals