Shibboleth2.xml - internal use skeleton

From RavenWiki
Revision as of 20:43, 20 June 2012 by jw35 (talk | contribs) (Note that 2.4 may simplify this)
Jump to navigationJump to search

The main configuration for the Shibboleth SP is a file called shibboleth2.xml. You'll find this in the main Shibboleth configuration directory whose location varies from installation to installation. Try /etc/shibboleth, /opt/shibboleth-sp/etc/shibboleth, C:\opt\shibboleth-sp\etc\shibboleth or similar.

A skeleton file is available, suitable for use with an SP that only wants to work within the University and only wants to authenticate Raven users. It can be collected from

 http://raven.cam.ac.uk/project/shibboleth/files/config/shibboleth2.xml-UCAMSKEL

Note that this file is for version 2.3 of the SP software - it may require minor modification to work with earlier versions. Version 2.4 of the software introduces a number of simplifications to the configuration file - this skeleton does not yet take advantage of these.

Make a copy of it and rename it shibboleth2.xml. Search it for all occurrences of 'FIX-ME' and apply the edits described in the adjacent comments. Try not to disturb anything you are not explicitly told to alter - see Editing XML for tips on editing XML files. You can check it for major mistakes by running

 <some path>/shibd -t (Unix)
 <some path>\shibd.exe -check (Windows)

The path to shibd varies from installation to installation - try /sbin, /opt/shibboleth-sp/sbin, C:\opt\shibboleth-sp\sbin or similar.