relaying-party, metadata provider.
i have configured shibboleth 2.4.2 as SP to use IdP, with jboss5.
What to change in Shibboleth2.xml and relaying-party, metadata provider.
i'm running https://sp.baya.org/Shibboleth.sso/Status on IIS
and https://idp.baya.org:8443/idp/shibboleth on JBoss5
Shibboleth2.xml is
<Site id="1" name="sp.baya.org"/>
<Host name="sp.baya.org">
<Path name="secure" authType="shibboleth" requireSession="true"/>
</Host>
<ApplicationDefaults entityID="https://sp.baya.org/Shibboleth.sso"
REMOTE_USER="eppn persistent-id targeted-id">
<SessionInitiator type="Chaining" Location="/Login" isDefault="true"
id="Intranet" relayState="cookie"
entityID="https://idp.baya.org:8443/idp/shibboleth" acsByIndex="false"/>
<Errors supportContact="root@localhost" logoLocation="/shibboleth-sp/logo.jpg"
styleSheet="/shibboleth-sp/main.css"/>
<MetadataProvider type="XML"
uri="https://idp.baya.org:8443/spbaya-metadata.xml"
backingFilePath="spbaya-metadata.xml" reloadInterval="7200">
<MetadataFilter type="RequireValidUntil"
maxValidityInterval="2419200"/>
</MetadataProvider>
--(https://idp.baya.org:8443/spbaya-metadata.xml the path where from i get my
metadata, as its not working when i
write https://sp.baya.org/spbaya-metadata.xml)
When i write same path in relying-party.xml (without changing anything else)
in metadataprovider section, then my idp stops working.
<metadata:MetadataProvider id="ShibbolethMetadata"
xsi:type="metadata:ChainingMetadataProvider">
<metadata:MetadataProvider id="IdPMD"
xsi:type="metadata:ResourceBackedMetadataProvider">
<metadata:MetadataResource
xsi:type="resource:FilesystemResource"
file="c:\shibboleth-idp/metadata/idp-metadata.xml" />
</metadata:MetadataProvider>
<metadata:MetadataProvider id="URLMD"
xsi:type="metadata:FileBackedHTTPMetadataProvider"
metadataURL="https://idp.baya.org:8443/spbaya-metadata.xml"
backingFile="c:\shibboleth-idp/metadata/some-metadata.xml"/>
</metadata:MetadataProvider>
Is there anything that i am missing or need to change something in another
files like attribute-filter, attribute-resolver.xml. If yes then what to
change?
Please help, Thanks in advance.
The documentation explains what to change. If you explain what you don't understand, then we can help.
> --(https://idp.baya.org:8443/spbaya-metadata.xml the path where from i get
> my metadata, as its not working when i> write https://sp.baya.org/spbaya-metadata.xml)
Neither makes any sense. Asking the subject of the metadata for its metadata is essentially like going up to a stranger and asking if he's a thief. Metadata has to be trusted. If you can't do it any other way, you need to exchange it out of band.
> When i write same path in relying-party.xml (without changing anything else)
> in metadataprovider section, then my idp stops working.
The IdP needs the SPs metadata. The SP needs the IdP's metadata. It's not the same information.
> Is there anything that i am missing or need to change something in another
> files like attribute-filter, attribute-resolver.xml. If yes then what to
> change?
You have to understand what's in the files and what your requirements are to know whether to change them. There's no way for somebody else to know without talking to you for an extended period of time about your needs.
-- Scott
shibsp::ConfigurationException at (https://sp.baya.org/secure)
None of the configured SessionInitiators handled the request.
and i haven't changed anything in relying-party.xml
So where can be the problem..
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/IdP-SP-Metadata-Configuration-problem-tp6297351p6302397.html
Sent from the Shibboleth - Users mailing list archive at Nabble.com.
shibsp::ConfigurationException at (https://sp.baya.org/secure)
None of the configured SessionInitiators handled the request.
and i haven't changed anything in relying-party.xml
So where can be the problem..
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/IdP-SP-Metadata-Configuration-problem-tp6297351p6302402.html
jay_dee schreef:
My hostname in Shibboleth2 is --
<Host name="sp.baya.org" redirectToSSL="443">
<Path name="secure" authType="shibboleth" requireSession="true"/>
</Host>
and Entity ID for SP--
<ApplicationDefaults entityID="https://sp.baya.org/Shibboleth.sso"
homeURL="https://sp.baya.org/" REMOTE_USER="eppn persistent-id
targeted-id">
and My Idp's Entity ID--
SessionInitiator type="Chaining" Location="/Login" isDefault="true"
id="Intranet" relayState="cookie"
entityID="https://idp.baya.org:8443/idp/shibboleth">
<SessionInitiator type="SAML2" acsIndex="1"
template="bindingTemplate.html"/>
<SessionInitiator type="Shib1" acsIndex="6"/>
</SessionInitiator>
My metadata in shibboleth2.xml --
<MetadataProvider type="XML" uri="https://idp.baya.org:8443/idp/shibboleth"
backingFilePath="spbaya-metadata.xml" reloadInterval="7200">
<MetadataFilter type="RequireValidUntil" maxValidityInterval="2419200"/>
</MetadataProvider>
my metadata in relying-party.xml --
<metadata:MetadataProvider id="URLMD"
xsi:type="metadata:FileBackedHTTPMetadataProvider"
metadataURL="https://sp.baya.org/Shibboleth.sso/Metadata"
backingFile="C:\IDP_HOME/metadata/some-metadata.xml"/>
when i try to https://sp.baya.org/secure, i get following error
opensaml::saml2md::MetadataException
Unable to locate metadata for identity provider
(https://idp.baya.org:8443/idp/shibboleth)
What is happening there, how to set the metadata in both xml?
Shibd.log--
2011-04-25 19:10:51 INFO OpenSAML.Metadata : applying metadata filter
(RequireValidUntil)
2011-04-25 19:10:51 CRIT OpenSAML.MetadataProvider.XML : maintaining
existing configuration, error reloading resource
(https://idp.baya.org:8443/idp/shibboleth): Metadata did not include a
validUntil attribute.
2011-04-25 20:00:51 INFO OpenSAML.MetadataProvider.XML : reloading remote
resource...
2011-04-25 20:00:53 INFO OpenSAML.MetadataProvider.XML : loaded XML resource
(https://idp.baya.org:8443/idp/shibboleth)
2011-04-25 20:00:53 INFO OpenSAML.Metadata : applying metadata filter
(RequireValidUntil)
2011-04-25 20:00:53 WARN OpenSAML.MetadataProvider.XML : adjusted reload
interval to 3600 seconds
2011-04-25 20:00:53 INFO OpenSAML.MetadataProvider.XML : using local backup
of remote resource
2011-04-25 20:00:53 INFO OpenSAML.MetadataProvider.XML : loaded XML resource
(C:/SP/var/run/shibboleth/spbaya-metadata.xml)
2011-04-25 20:00:53 INFO OpenSAML.Metadata : applying metadata filter
(RequireValidUntil)
2011-04-25 20:00:53 CRIT OpenSAML.MetadataProvider.XML : maintaining
existing configuration, error reloading resource
(https://idp.baya.org:8443/idp/shibboleth): Metadata did not include a
validUntil attribute.
native.log
2011-04-25 17:34:58 ERROR Shibboleth.ISAPI [940] isapi_shib_extension:
Shibboleth handler invoked at an unconfigured location.
2011-04-25 17:35:09 ERROR Shibboleth.Listener [940] isapi_shib_extension:
remoted message returned an error: Unable to locate metadata for identity
provider (https://idp.baya.org:8443/idp/shibboleth)
2011-04-25 17:35:09 ERROR Shibboleth.ISAPI [940] isapi_shib_extension:
Unable to locate metadata for identity provider
(https://idp.baya.org:8443/idp/shibboleth)
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/IdP-SP-Metadata-Configuration-problem-tp6297351p6303051.html
opensaml::saml2md::MetadataException
opensaml::saml2md::MetadataException at (https://sp.baya.org/secure)
Unable to locate metadata for identity provider
(https://idp.baya.org:8443/idp-metadata.xml)
Second question is when i update metadata section (Uncomment those lines) in
relying-party.xml then my Jboss gives error that idp is not deployed and
https://idp.baya.org/idp/shibboleth does not work.
Any help..
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/IdP-SP-Metadata-Configuration-problem-tp6297351p6305324.html
-- Scott