<div dir="ltr">Hi,<div><br></div><div>SP hit our IDP & got the saml response. While trying to decrypt SP gets the below Error. But if we try to take the SAML response & decrypt it manually using SPs private key, We are able to decrypt it. But gets below error when IDP & SP directly connects.</div><div><br></div><div><p style="font-family:arial;margin:0px;padding:0px;font-size:14pt">org.opensaml.ws.security.SecurityPolicyException: Validation of protocol message signature failed</p><p style="font-family:arial;margin:0px;padding:0px;font-size:14pt">at org.opensaml.common.binding.security.SAMLProtocolMessageXMLSignatureSecurityPolicyRule.doEvaluate(SAMLProtocolMessageXMLSignatureSecurityPolicyRule.java:138)</p><p style="font-family:arial;margin:0px;padding:0px;font-size:14pt">at org.opensaml.common.binding.security.SAMLProtocolMessageXMLSignatureSecurityPolicyRule.evaluate(SAMLProtocolMessageXMLSignatureSecurityPolicyRule.java:107)</p><div><br></div><div><br>Anyone faced such issues ? Any pointer on this will be very helpful.</div><div><br>Thanks in Advance.</div><div><br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Thanks,<div>Ramkumar Ramasubbu</div><div>CPS</div><div><br></div></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 8, 2020 at 7:03 PM Alan Buxey <<a href="mailto:alan.buxey@myunidays.com" target="_blank">alan.buxey@myunidays.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">hi,</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Just to verify, we tried to comment all the key sections in the SP Vendor metadata file. Even then the SAML assertion was encrypted. That raised my doubt if IDP's key is used to encrypt.</div></div></blockquote><div><br></div><div>are you sure it wasnt still being signed ? </div><div><br></div><div>alan</div><div> </div></div><div dir="ltr"><p></p></div></div>
</blockquote></div>