Shibboleth2.xml - internal use skeleton: Difference between revisions

From RavenWiki
Jump to navigationJump to search
(shibboleth2.xml-UCAMSKEL updated to match 2.3)
(Note that 2.4 may simplify this)
Line 5: Line 5:
   http://raven.cam.ac.uk/project/shibboleth/files/config/shibboleth2.xml-UCAMSKEL
   http://raven.cam.ac.uk/project/shibboleth/files/config/shibboleth2.xml-UCAMSKEL


Note that this file has been updated for version 2.3 of the SP software - it may require minor modification to work with earlier versions.
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  
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  

Revision as of 20:43, 20 June 2012

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.