XML validation problem in apache when upgrading SP from v2 to v3

Simon McLeish simon.mcleish at gmail.com
Thu Jan 3 09:12:19 EST 2019


Hi,

I'm running a Shibboleth SP instance installed in a vendor supplied apache
server which is part of an application on a RedHat 6 server. The SP is
installed as a stadard RPM. I'm working on upgrading it from v2 to v3, and
made some changes to the configuration. All is complete except for the last
step, changing the XML declarations at the top of the file from  2.0 to
3.0, When I try this, shibd reloads the file with no problem - it thinks
the XML validates correctly. However, apache is complaining that the
configuration is not valid XML, throwing the error:

child_init: mod_shib failed to load configuration: XML RequestMapper
requires conf:RequestMap at root of configuration.

Renaming the tag conf:RequestMap removes this error, but apache then
complains about the next one tag in the file; I don't really want to change
every tag in the file. Changing the XML declarations back to 2.0 makes
everything work fine again.

The initial few lines of the shibboleth2.xml file with the XML declarations
are:

<SPConfig xmlns="urn:mace:shibboleth:2.0:native:sp:config"
    xmlns:conf="urn:mace:shibboleth:2.0:native:sp:config"
    clockSkew="180">

The apache version is 2.2.31. It's basically a standard installation from
compiled source, but in a non-standard location on the server. The mod_shib
is loaded into apache by including /etc/shibboleth/apache22.config.

I'm assuming there's something I need to change somewhere so that apache
picks up the XML declarations correctly - can anyone point me to where that
might be?

Many thanks,
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20190103/81f695ea/attachment.html>


More information about the users mailing list