Could not validate SAMLResponse (SAML Assertion decryption failed)

Valon Sheremeti
Kilo Guru

Hi all,

I've unsuccessfully been trying to configure SAML Identity Provider.

When I click TEST UI Action provider's page loads successfully.

Errors below show up after I activate the provider and after I type provider's credentials:

 

txid=6a6b4517dbf6 SEVERE *** ERROR *** SAML2: SAML Assertion decryption failed  
txid=6a6b4517dbf6 SEVERE *** ERROR *** SAML2: SAML2Error: Unable to retrieve SAML Assertion. 
txid=6a6b4517dbf6 SEVERE *** ERROR *** SAML2: Could not validate SAMLResponse
 
 
For a very short time I see this message on the screen 
image.png
then I get:
find_real_file.png
 
 
Any idea?
Thank you
 
 
 
1 ACCEPTED SOLUTION

Valon Sheremeti
Kilo Guru

Seems I did not pay attention on my own error log I posted: "SAML Assertion decryption failed"

I have disabled "SAML Assertion Encryption" on provider side and everything worked as expected 🙂

 

View solution in original post

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Valon,

Did you configure the certificate properly?

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Valon Sheremeti
Kilo Guru

Seems I did not pay attention on my own error log I posted: "SAML Assertion decryption failed"

I have disabled "SAML Assertion Encryption" on provider side and everything worked as expected 🙂