Problem reading MetaData from URL

Priyanshu Bhalotia priyanshu.bhalotia at wooqer.com
Mon Nov 14 08:35:43 EST 2016


I am encountering the folllowing issue when i am trying to use
HTTPMetadataResolver to read my federation metadata from http url.

My logs are showing -
*ERROR [org.opensaml.saml.metadata.resolver.impl.HTTPMetadataResolver:239]
- Non-ok status code 500 returned from remote metadata source*

But if i copy the contents of the xml from the url and copy paste it into a
file and then use FileBackedHTTPMetadataResolver or
FileSystemMetadataResolver, the redirect from SP to IdP is successful which
should mean that the metadata file content is correct.

the settings i have used in metadata-providers.xml are as follows:

<MetadataProvider
id="HTTPMetadata"
xsi:type="FileBackedHTTPMetadataProvider"
failFastInitialization="true"
disregardTLSCertificate="true"
xmlns="urn:mace:shibboleth:2.0:metadata"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:mace:shibboleth:2.0:metadata
http://shibboleth.net/schema/idp/shibboleth-metadata.xsd"
backingFile="%{idp.home}/metadata/example.xml" metadataURL="
http://xyz.example.com/metadata" >
</MetadataProvider>

in this case the url gives status code 500 error and then the data from
file is read but i want the data to be read from the url passed.

What configuration errors am i making or what else needs to be added to
make it work?

-- 
Priyanshu Bhalotia
Platform Engineer
Wooqer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20161114/79865c2d/attachment.html>


More information about the users mailing list