Unable To Resolve "SPSSODescriptor role metadata for entityID XXX could not be resolved"

Kanuch, Andrew Andy.Kanuch at sdstate.edu
Wed Feb 25 15:58:17 EST 2015


Hello,

I'm attempting to add a service provider from Okta to our IDP, but I have been unable to resolve this error. After connecting to the SP for the first time, it's reroute back to my IDP on the /idp/profile/SAML2/POST/SSO page with the error "Message did not meet security requirements".

Full Error from log is:
~~~
14:06:08.157 - WARN [org.opensaml.saml2.binding.security.SAML2AuthnRequestsSignedRule:81] - SPSSODescriptor role metadata for entityID 'https://www.okta.com/URL' could not be resolved
14:06:08.282 - WARN [edu.internet2.middleware.shibboleth.idp.profile.saml2.SSOProfileHandler:379] - Message did not meet security requirements
org.opensaml.ws.security.SecurityPolicyException: Validation of protocol message signature failed at org.opensaml.common.binding.security.SAMLProtocolMessageXMLSignatureSecurityPolicyRule.doEvaluate(SAMLProtocolMessageXMLSignatureSecurityPolicyRule.java:138) ~[opensaml-2.5.3.jar:na] at org.opensaml.common.binding.security.SAMLProtocolMessageXMLSignatureSecurityPolicyRule.evaluate(SAMLProtocolMessageXMLSignatureSecurityPolicyRule.java:107) ~[opensaml-2.5.3.jar:na] (etc etc)
~~~

I've checked their metadata to confirm the requirements of their SPSSODescriptor and it shows:
~~~
<md:SPSSODescriptor AuthnRequestsSigned="false" WantAssertionsSigned="false" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">

<md:KeyDescriptor use="signing">

<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">

<ds:X509Data><ds:X509Certificate>SNIP SNIP SNIP</ds:X509Certificate>

</ds:X509Data>

</ds:KeyInfo>

</md:KeyDescriptor>

<md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</md:NameIDFormat>
<md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</md:NameIDFormat><md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://sdstateedu.oktapreview.com/auth/saml20/sdstate" index="0" isDefault="true"/></md:SPSSODescriptor>



I've created a RelyingParty for it, and set the profile configuration signResponses=Never, and signAssertions=Never (The two I assume correspond with the first to items in the SPSSODescriptor.)

Using SAML Trace I was able to confirm the X509 Cert matches what I have in the metadata I received from them.

At this point I'm at a loss of what I can check next...?


Thanks,

Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/users/attachments/20150225/0e6a13e0/attachment-0001.html 


More information about the users mailing list