For more information, look at the SAML-validator Wiki page.
If you would like to test SAML-validator, say, in your JAGGER instance or elsewhere, you can run it at rr.cesnet.cz/saml-validator. Anyway, I recommend you to clone the repository to your own machine.
$ mkdir /var/www/saml-validator/
$ git clone https://github.com/JanOppolzer/saml-validator.git /var/www/saml-validator/
For SAML-validator to work, you need a temporary directory defined by a $TMP_DIRECTORY
variable (default value is tmp/
) writtable by the web-server user (www-data
in Debian). It is used for storing metadata to validate:
$ mkdir /var/www/saml-validator/tmp/
$ chown www-data:www-data /var/www/saml-validator/tmp/
On Debian 9 (Stretch) you need a web server and a PHP processor with XML support:
$ apt install apache2 php php-xml
You might prefer to disable directory listing by adding the following lines to your Apache configuration. Anyway, an index.php
file is available, so if this one is loaded by default (most probably), you do not need to disable directory listing.
<Directory /var/www/saml-validator/>
Options -Indexes
</Directory>