<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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
“<b>Message did not meet security requirements”</b>.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Full Error from log is:<o:p></o:p></p>
<p class="MsoNormal">~~~<o:p></o:p></p>
<p class="MsoNormal">14:06:08.157 - WARN [org.opensaml.saml2.binding.security.SAML2AuthnRequestsSignedRule:81] -
<span style="background:yellow;mso-highlight:yellow">SPSSODescriptor role metadata for entityID</span> 'https://www.okta.com/URL'
<span style="background:yellow;mso-highlight:yellow">could not be resolved</span><o:p></o:p></p>
<p class="MsoNormal">14:06:08.282 - WARN [edu.internet2.middleware.shibboleth.idp.profile.saml2.SSOProfileHandler:379] -
<span style="background:yellow;mso-highlight:yellow">Message did not meet security requirements</span><o:p></o:p></p>
<p class="MsoNormal">org.opensaml.ws.security.SecurityPolicyException: <span style="background:yellow;mso-highlight:yellow">
Validation of protocol message signature failed at</span> 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)<span style="background:yellow;mso-highlight:yellow"><o:p></o:p></span></p>
<p class="MsoNormal">~~~<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’ve checked their metadata to confirm the requirements of their SPSSODescriptor and it shows:<o:p></o:p></p>
<p class="MsoNormal">~~~<o:p></o:p></p>
<p class="MsoNormal"><md:SPSSODescriptor <span style="background:yellow;mso-highlight:yellow">
AuthnRequestsSigned</span>="false" <span style="background:yellow;mso-highlight:yellow">
WantAssertionsSigned</span>="false" <span style="background:yellow;mso-highlight:yellow">
protocolSupportEnumeration</span>="urn:oasis:names:tc:SAML:2.0:protocol"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><md:KeyDescriptor use="signing"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><ds:X509Data><ds:X509Certificate><span style="background:yellow;mso-highlight:yellow">SNIP SNIP SNIP</span></ds:X509Certificate><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"></ds:X509Data><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"></ds:KeyInfo><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"></md:KeyDescriptor><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</md:NameIDFormat><o:p></o:p></p>
<p class="MsoNormal"><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><o:p></o:p></p>
<div style="mso-element:para-border-div;border-top:solid windowtext 3.0pt;border-left:none;border-bottom:solid windowtext 3.0pt;border-right:none;padding:1.0pt 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none;padding:0in"><o:p> </o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.)<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Using SAML Trace I was able to confirm the X509 Cert matches what I have in the metadata I received from them.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">At this point I’m at a loss of what I can check next…?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Andy<o:p></o:p></p>
</div>
</body>
</html>