<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>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;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&#8217;s reroute back to my IDP on the /idp/profile/SAML2/POST/SSO page with the error
 &#8220;<b>Message did not meet security requirements&#8221;</b>.<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</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>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;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">&lt;md:SPSSODescriptor <span style="background:yellow;mso-highlight:yellow">
AuthnRequestsSigned</span>=&quot;false&quot; <span style="background:yellow;mso-highlight:yellow">
WantAssertionsSigned</span>=&quot;false&quot; <span style="background:yellow;mso-highlight:yellow">
protocolSupportEnumeration</span>=&quot;urn:oasis:names:tc:SAML:2.0:protocol&quot;&gt;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">&lt;md:KeyDescriptor use=&quot;signing&quot;&gt;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">&lt;ds:KeyInfo xmlns:ds=&quot;http://www.w3.org/2000/09/xmldsig#&quot;&gt;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">&lt;ds:X509Data&gt;&lt;ds:X509Certificate&gt;<span style="background:yellow;mso-highlight:yellow">SNIP SNIP SNIP</span>&lt;/ds:X509Certificate&gt;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">&lt;/ds:X509Data&gt;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">&lt;/ds:KeyInfo&gt;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">&lt;/md:KeyDescriptor&gt;<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">&lt;md:NameIDFormat&gt;urn:oasis:names:tc:SAML:2.0:nameid-format:persistent&lt;/md:NameIDFormat&gt;<o:p></o:p></p>
<p class="MsoNormal">&lt;md:NameIDFormat&gt;urn:oasis:names:tc:SAML:2.0:nameid-format:transient&lt;/md:NameIDFormat&gt;&lt;md:AssertionConsumerService Binding=&quot;urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST&quot; Location=&quot;https://sdstateedu.oktapreview.com/auth/saml20/sdstate&quot;
 index=&quot;0&quot; isDefault=&quot;true&quot;/&gt;&lt;/md:SPSSODescriptor&gt;<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>&nbsp;</o:p></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;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>&nbsp;</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>&nbsp;</o:p></p>
<p class="MsoNormal">At this point I&#8217;m at a loss of what I can check next&#8230;?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Andy<o:p></o:p></p>
</div>
</body>
</html>