Initial Setup -- Cannot Get SP and IDP Talking

Peter Schober peter.schober at univie.ac.at
Thu Nov 14 05:15:09 EST 2013


* Sam Agnew <saa2012 at qatar-med.cornell.edu> [2013-11-14 10:33]:
> Error Message: No peer endpoint available to which to send SAML
> response

The IdP does not have correct metadata for the SP (or the SP is
misconfigured).

> 12:23:30.805 - WARN [org.opensaml.saml2.binding.AuthnResponseEndpointSelector:206] - Relying party 'https://unixadmin.qatar-med.cornell.edu/secure' requested the response to be returned to endpoint with ACS URL 'http://unixadmin.qatar-med.cornell.edu/Shibboleth.sso/SAML2/POST'  and binding 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST' however no endpoint, with that URL and using a supported binding,  can be found in the relying party's metadata

That seems pretty clear, no?

Above you have the entityID of the SP (which you for some reason set
to "https://unixadmin.qatar-med.cornell.edu/secure") and that contains
an ACS URL referencing the SAML metadata <AssertionConsumerService>
element, or rather its "Location" XML attribute.

So you now know what the IdP is looking for and you know that it
cannot find something in all the metadata it has configured that
matches these requirements.

Why this is the case is for you to debug. You could post the metadata
the IdP has on record for that SP, if needed.

Personally I find it unusual (and would recommend against it) that the
SP requests responses to be sent to plain http endpoints (instead of
https). If the IdP has metadata with https URLs in them the SP is
possibly misconfigured.

> 2013-11-14 12:15:19 ERROR Shibboleth.ArtifactResolution.SAML2 [1]: error while processing request: Invalid content type for SOAP message.

Unrelated, but of course ERRORs and WARNs are never good. Why Artifact
would play any role here is beyond me. Are you specifically trying to
use Artifact, e.g. to make the SP work on plain http without
generating security warnings from the browser?

> I have an inkling that this probably relates to the SP and IDP not
> able to agree on how to handshake the success but I'm not able to
> figure out how to resolve this.

I don't know what "how to handshake the success" means, but first and
foremost the IdP does not have correct metadata for the SP.
-peter


More information about the users mailing list