Hi <br><br>I am struggling to get the SP ECP binding working. Have looked at the email threads, but am not able to make out what I am doing wrong. The shibd process crashes when I send the curl command (as indicated by ecp.sh). <br>
Maybe I have misconfigured something here, but am not able to make out, any help is appreciated.<br><br>Thanks<br>Anand<br><br>Here is the last log message<br><br>2011-12-21 08:10:45 INFO Shibboleth.Listener : registered remoted message endpoint (default::getHeaders::Application)<br>
2011-12-21 08:10:45 INFO Shibboleth.Listener : listener service starting<br>2011-12-21 08:10:57 DEBUG Shibboleth.Listener [1]: dispatching message (default/Login::run::SAML2SI)<br>2011-12-21 08:10:57 DEBUG XMLTooling.StorageService [1]: inserted record (3ebec2baae691f7e09b4ef2959d5870a) in context (RelayState) with expiration (1324455657)<br>
2011-12-21 08:10:57 DEBUG OpenSAML.MessageEncoder.SAML2ECP [1]: validating input<br>2011-12-21 08:10:57 DEBUG OpenSAML.MessageEncoder.SAML2ECP [1]: marshalling the envelope<br><br>+++++++++++++++++++++++++++++++++<br>output from curl command<br>
++++++++++++++++++++++++++++++++<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>&lt;!DOCTYPE html <br>    PUBLIC &quot;-//W3C//DTD XHTML 1.0 Strict//EN&quot; <br>    &quot;DTD/xhtml1-strict.dtd&quot;&gt;<br>
    <br>&lt;html xmlns=&quot;<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>&quot; xml:lang=&quot;en&quot; lang=&quot;en&quot;&gt;<br>&lt;head&gt;<br>    &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=UTF-8&quot;/&gt;<br>
    &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;/shibboleth-sp/main.css&quot; /&gt;<br>    &lt;title&gt;shibsp&amp;#58;&amp;#58;ListenerException&lt;/title&gt;<br>&lt;/head&gt;<br><br>&lt;body&gt;<br>
<br>&lt;img src=&quot;/shibboleth-sp/logo.jpg&quot; alt=&quot;Logo&quot; /&gt;<br>&lt;h1&gt;shibsp&amp;#58;&amp;#58;ListenerException&lt;/h1&gt;<br><br>&lt;p&gt;The system encountered an error at Wed Dec 21 08&amp;#58;10&amp;#58;57 2011<br>
&lt;/p&gt;<br><br>&lt;p&gt;To report this problem, please contact the site administrator at<br>&lt;a href=&quot;mailto:<a href="mailto:root@localhost">root@localhost</a>&quot;&gt;root@localhost&lt;/a&gt;.<br>&lt;/p&gt;<br>
<br>&lt;p&gt;Please include the following message in any email:&lt;/p&gt;<br>&lt;p class=&quot;error&quot;&gt;shibsp&amp;#58;&amp;#58;ListenerException at (https&amp;#58;//<a href="http://m1234.lab.ppops.net/secure">m1234.lab.ppops.net/secure</a>)&lt;/p&gt;<br>
<br>&lt;p&gt;Failure receiving response to remoted message &amp;#40;default/Login&amp;#58;&amp;#58;run&amp;#58;&amp;#58;SAML2SI&amp;#41;.&lt;/p&gt;<br><br><br>+++++++++++++++++++++++++++++++++<br>my shibboleth2.xml =&gt;<br>
+++++++++++++++++++++++++++++++++<br>&lt;ApplicationDefaults entityID=&quot;<a href="https://m1234.lab.ppops.net/shibboleth">https://m1234.lab.ppops.net/shibboleth</a>&quot; <br>                         REMOTE_USER=&quot;eppn persistent-id targeted-id&quot;&gt;<br>
&lt;Sessions lifetime=&quot;28800&quot; timeout=&quot;3600&quot; checkAddress=&quot;false&quot; relayState=&quot;ss:mem&quot; handlerSSL=&quot;false&quot; cookieProps=&quot;; path=/; secure&quot;&gt;<br><br>&lt;SessionInitiator type=&quot;Chaining&quot; Location=&quot;/Login&quot; isDefault=&quot;true&quot; id=&quot;Intranet&quot; <br>
        entityID=&quot;<a href="https://obelix.obelix.com/idp/shibboleth">https://obelix.obelix.com/idp/shibboleth</a>&quot;&gt;<br>        &lt;SessionInitiator type=&quot;SAML2&quot; ECP=&quot;true&quot; template=&quot;bindingTemplate.html&quot; <br>
                ascIndex=&quot;3&quot; acsByIndex=&quot;false&quot; /&gt;<br>    &lt;/SessionInitiator&gt;<br>    &lt;LogoutInitiator type=&quot;Chaining&quot; Location=&quot;/Logout&quot;&gt;<br>        &lt;LogoutInitiator type=&quot;Local&quot; /&gt;<br>
    &lt;/LogoutInitiator&gt;<br>    &lt;md:AssertionConsumerService Location=&quot;/SAML2/POST&quot; index=&quot;1&quot; Binding=&quot;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST&quot;/&gt;<br>    &lt;md:AssertionConsumerService Location=&quot;/SAML2/POST-SimpleSign&quot; index=&quot;2&quot; Binding=&quot;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign&quot;/&gt;<br>
    &lt;md:AssertionConsumerService Location=&quot;/SAML2/Artifact&quot; index=&quot;3&quot; Binding=&quot;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact&quot;/&gt;<br>    &lt;md:AssertionConsumerService Location=&quot;/SAML2/ECP&quot; index=&quot;4&quot; Binding=&quot;urn:oasis:names:tc:SAML:2.0:bindings:PAOS&quot;/&gt;<br>
    &lt;md:ArtifactResolutionService Location=&quot;/Artifact/SOAP&quot; index=&quot;1&quot; Binding=&quot;urn:oasis:names:tc:SAML:2.0:bindings:SOAP&quot;/&gt;<br>&lt;Handler type=&quot;MetadataGenerator&quot; Location=&quot;/Metadata&quot; signing=&quot;false&quot;/&gt;<br>
<br>            &lt;!-- Status reporting service. --&gt;<br>            &lt;Handler type=&quot;Status&quot; Location=&quot;/Status&quot; acl=&quot;127.0.0.1&quot;/&gt;<br><br>            &lt;!-- Session diagnostic service. --&gt;<br>
            &lt;Handler type=&quot;Session&quot; Location=&quot;/Session&quot; showAttributeValues=&quot;false&quot;/&gt;<br><br>            &lt;!-- JSON feed of discovery information. --&gt;<br>            &lt;Handler type=&quot;DiscoveryFeed&quot; Location=&quot;/DiscoFeed&quot;/&gt;<br>
        &lt;/Sessions&gt;<br><br>        &lt;!--<br>        Allows overriding of error template information/filenames. You can<br>        also add attributes with values that can be plugged into the templates.<br>        --&gt;<br>
        &lt;Errors supportContact=&quot;root@localhost&quot;<br>            logoLocation=&quot;/shibboleth-sp/logo.jpg&quot;<br>            styleSheet=&quot;/shibboleth-sp/main.css&quot;/&gt;<br><br>        &lt;!-- Example of remotely supplied batch of signed metadata. --&gt;<br>
        &lt;MetadataProvider type=&quot;XML&quot; uri=&quot;<a href="https://obelix.obelix.com/idp/profile/Metadata/SAML">https://obelix.obelix.com/idp/profile/Metadata/SAML</a>&quot;<br>              backingFilePath=&quot;federation-metadata.xml&quot; reloadInterval=&quot;7200&quot;&gt;<br>
&lt;!--<br>            &lt;MetadataFilter type=&quot;RequireValidUntil&quot; maxValidityInterval=&quot;2419200&quot;/&gt;<br>--&gt;<br>            &lt;!--&lt;MetadataFilter type=&quot;Signature&quot; certificate=&quot;fedsigner.pem&quot;/&gt; --&gt;<br>
        &lt;/MetadataProvider&gt;<br>&lt;AttributeExtractor type=&quot;XML&quot; validate=&quot;true&quot; path=&quot;attribute-map.xml&quot;/&gt;<br><br>        &lt;!-- Use a SAML query if no attributes are supplied during SSO. --&gt;<br>
        &lt;AttributeResolver type=&quot;Query&quot; subjectMatch=&quot;true&quot;/&gt;<br><br>        &lt;!-- Default filtering policy for recognized attributes, lets other data pass. --&gt;<br>        &lt;AttributeFilter type=&quot;XML&quot; validate=&quot;true&quot; path=&quot;attribute-policy.xml&quot;/&gt;<br>
<br>        &lt;!-- Simple file-based resolver for using a single keypair. --&gt;<br>        &lt;CredentialResolver type=&quot;File&quot; key=&quot;sp-key.pem&quot; certificate=&quot;sp-cert.pem&quot;/&gt;<br><br>        &lt;!--<br>
        The default settings can be overridden by creating ApplicationOverride elements (see<br>        the <a href="https://spaces.internet2.edu/display/SHIB2/NativeSPApplicationOverride">https://spaces.internet2.edu/display/SHIB2/NativeSPApplicationOverride</a> topic).<br>
        Resource requests are mapped by web server commands, or the RequestMapper, to an<br>        applicationId setting.<br>        <br>        Example of a second application (for a second vhost) that has a different entityID.<br>
        Resources on the vhost would map to an applicationId of &quot;admin&quot;:<br>        --&gt;<br>        &lt;!--<br>        &lt;ApplicationOverride id=&quot;admin&quot; entityID=&quot;<a href="https://admin.example.org/shibboleth">https://admin.example.org/shibboleth</a>&quot;/&gt;<br>
        --&gt;<br>    &lt;/ApplicationDefaults&gt;<br><br>    &lt;!-- Policies that determine how to process and authenticate runtime messages. --&gt;<br>    &lt;SecurityPolicyProvider type=&quot;XML&quot; validate=&quot;true&quot; path=&quot;security-policy.xml&quot;/&gt;<br>
<br>    &lt;!-- Low-level configuration about protocols and bindings available for use. --&gt;<br>    &lt;ProtocolProvider type=&quot;XML&quot; validate=&quot;true&quot; reloadChanges=&quot;false&quot; path=&quot;protocols.xml&quot;/&gt;<br>
<br>&lt;/SPConfig&gt;<br><br><br><br><br>