<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"> I am implementing shibboleth IDP and SP. I have installed in my machine and tested it with <a href="http://testshib.org/" target="_blank">testshib.org</a> , both(IDP&SP) are working fine.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"> I am trying to use my own IDP with my SP. </div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px"> Once I access the protected resource, SP redirects to the IDP login page correctly, after authentication is successful, it is redirected to the SP with the SAML encrypted response (<span style="font-family:Geneva,Arial,Helvetica,sans-serif">With the servlet status code 500</span>) Which shows the following error ,</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">"<span style="font-size:10pt;font-family:Geneva,Arial,Helvetica,sans-serif;font-weight:bold">opensaml::FatalProfileException at (<a href="https://127.0.0.1/Shibboleth.sso/SAML2/POST" target="_blank">https://127.0.0.1/Shibboleth.sso/SAML2/POST</a>)</span><br>
</div><div style="font-family:arial,sans-serif;font-size:13px"><p style="font-size:10pt;margin-bottom:20px;font-family:Geneva,Arial,Helvetica,sans-serif;margin-top:20px">A valid authentication statement was not found in the incoming message."</p>
<p style="font-size:10pt;margin-bottom:20px;font-family:Geneva,Arial,Helvetica,sans-serif;margin-top:20px"><span style="font-size:10pt"> I checked the native log which shows the following message.</span><br></p><p style="margin-top:20px;margin-bottom:20px">
<font color="#000000" face="Geneva, Arial, Helvetica, sans-serif">"</font><font color="#000000" face="Geneva, Arial, Helvetica, sans-serif">2013-08-29 20:22:36 ERROR Shibboleth.Listener [28868] shib_handler: remoted message returned an error: A valid authentication statement was not found in the incoming message.</font></p>
<p style="margin-top:20px;margin-bottom:20px"><font color="#000000" face="Geneva, Arial, Helvetica, sans-serif">2013-08-29 20:22:36 ERROR Shibboleth.Apache [28868] shib_handler: A valid authentication statement was not found in the incoming message.</font><font color="#000000" face="Geneva, Arial, Helvetica, sans-serif">"</font></p>
<p style="margin-top:20px;margin-bottom:20px"><font color="#000000" face="Geneva, Arial, Helvetica, sans-serif">I attached the logs and configuration files used by me.</font></p><p style="margin-top:20px;margin-bottom:20px">
<span style="font-family:Geneva,Arial,Helvetica,sans-serif">How can I rectify this problem?</span><font color="#000000" face="Geneva, Arial, Helvetica, sans-serif"><br></font></p><p style="font-size:10pt;margin-bottom:20px;font-family:Geneva,Arial,Helvetica,sans-serif;margin-top:20px">
INFO:</p><p style="font-size:10pt;margin-bottom:20px;font-family:Geneva,Arial,Helvetica,sans-serif;margin-top:20px">IDP : <a href="https://127.0.0.1:8443/idp/shibboleth(tomcat)" target="_blank">https://127.0.0.1:8443/idp/shibboleth(tomcat)</a></p>
<p style="font-size:10pt;margin-bottom:20px;font-family:Geneva,Arial,Helvetica,sans-serif;margin-top:20px">SP: <a href="https://127.0.0.1/shibboleth(apache)" target="_blank">https://127.0.0.1/shibboleth(apache)</a></p><p style="font-size:10pt;margin-bottom:20px;font-family:Geneva,Arial,Helvetica,sans-serif;margin-top:20px">
I used the metadata from the location /opt/shibboleth-idp/metadata/idp-metadata.xml(Attached with the name idp-metadata.xml)</p><p style="font-size:10pt;margin-bottom:20px;font-family:Geneva,Arial,Helvetica,sans-serif;margin-top:20px">
<span style="font-size:10pt">Regards,</span><br></p><p style="font-size:10pt;margin-bottom:20px;font-family:Geneva,Arial,Helvetica,sans-serif;margin-top:20px">Aravindhan A.</p></div></div>