<div dir="ltr">All,<div><br></div><div>I'm getting the idp up and running for some testing and am running into an issue. The idp is running on CentOS 6.6 and tomcat 7 with openjdk and an apache 2.2 instance in front of it. My steps to deploy were:</div><div><br></div><div>1. Download the idp</div><div>2. Run ./install.sh</div><div>3. copy idp.war to tomcat7/webapps</div><div>4. setn JAVA_OPTS="-Didp.home=..."</div><div>5. update ldap.properties</div><div>6. Created a metadata file from the SP (below)</div><div><br></div><div><md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" ID="fefb24095e308700eef9645f733ddb0f47649a80b" entityID="<a href="http://sp.autoidm.com:9090/auth/SAML2Auth">http://sp.autoidm.com:9090/auth/SAML2Auth</a>"><md:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="false" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"><md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="<a href="http://sp.autoidm.com:9090/auth/SAML2Auth">http://sp.autoidm.com:9090/auth/SAML2Auth</a>"/><md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</md:NameIDFormat><md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="<a href="http://sp.autoidm.com:9090/auth/SAML2Auth">http://sp.autoidm.com:9090/auth/SAML2Auth</a>" index="0" isDefault="true"/><md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="<a href="http://sp.autoidm.com:9090/auth/SAML2Auth">http://sp.autoidm.com:9090/auth/SAML2Auth</a>" index="1" isDefault="false"/></md:SPSSODescriptor></md:EntityDescriptor><br></div><div><br></div><div>7. Configured the SP with the idp's metadata</div><div>8. Restart tomcat</div><div>9. Start an SSO request with the following authnrequest:</div><div><br></div><div>
<p class=""><span class=""><?xml version="1.0" encoding="UTF-8"?></span></p>
<p class=""><span class=""><saml2p:AuthnRequest</span></p>
<p class=""><span class=""> AssertionConsumerServiceURL="<a href="http://sp">http://sp</a>.</span><span class="">autoidm</span><span class="">.com:9090/auth/SAML2Auth"</span></p>
<p class=""><span class=""> Destination="<a href="http://shib2x.tremolo.lan/idp/profile/SAML2/Redirect/SSO">http://shib2x.tremolo.lan/idp/profile/SAML2/Redirect/SSO</a>"</span></p>
<p class=""><span class=""> ForceAuthn="false" ID="fd017028a1763d5962be00c5effe7b5a0a0a87260"</span></p>
<p class=""><span class=""> IsPassive="false" IssueInstant="2015-03-10T12:54:57.591Z"</span></p>
<p class=""><span class=""> ProtocolBinding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"</span></p>
<p class=""><span class=""> Version="2.0" xmlns:saml2p="urn:oasis:names:tc:SAML:2.0:protocol"></span></p>
<p class=""><span class=""> <saml2:Issuer xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion"><a href="http://sp">http://sp</a>.</span><span class="">autoidm</span><span class="">.com:9090/auth/SAML2Auth</saml2:Issuer></span></p>
<p class=""><span class=""> <saml2p:RequestedAuthnContext Comparison="exact"></span></p>
<p class=""><span class=""> <saml2:AuthnContextClassRef xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion">urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport</saml2:AuthnContextClassRef></span></p>
<p class=""><span class=""> </saml2p:RequestedAuthnContext></span></p>
<p class=""><span class=""></saml2p:AuthnRequest></span></p><p class=""><span class=""><br></span></p><p class=""><span class="">Instead of being prompted to login I get the following error:</span></p><p class="">
</p><p class=""><span class="">WARN [org.opensaml.xmlsec.impl.BasicEncryptionParametersResolver:221] - Validation failure: Failed to resolve both a data and a key encryption credential</span></p><p class=""><span class="">I'm guessing this is because the idp expects the authnrequest to be signed and/or encrypted? if so how do I disable that?</span></p><p class="">Any help would be greatly appreciated.</p><p class="">Thanks</p><p class="">Marc</p></div></div>