<div dir="ltr">Thanks Alan for your quick response.<div><br></div><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><br clear="all"><div><div dir="ltr" class="gmail_signature" 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><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 8, 2020 at 6:00 PM Alan Buxey <<a href="mailto:alan.buxey@myunidays.com">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">hi,<br>
><br>
> I am new to SSO implementation. We have a scenario for IDP initiated SSO. We shared the metadata information with our SP & we updated SP metadata in our idp.<br>
> When generating the SAML response, we see SAML assertions are encrypted inside the cipher data tags. I have very basic question here.<br>
><br>
> 1. Which key is used by SSO to encrypt the saml assertion in the response. Is it IDP metadata key or the public key from vendor metadata ?<br>
> 2. We tried to decrypt with an idp private key using an online tool ,we got XML parse error.  Is there any way to decrypt the saml assertions we generate ?<br>
<br>
<br>
its PKI - so its encrypted in the only way that the SP can be the only<br>
one to read it - using the public key from the vendor metadata. only<br>
the SP, with their private key at the the other end, can decrypt it<br>
<br>
alan<br>
</blockquote></div>