CR76
CR76

Reputation: 1

Spring SAML exception with Tomcat/ADFS integration

I downloaded the Sprind SAML sample app and its working fine in my local tomcat (against SSOCircle). Then I added a new SP to point to ADFS in our company. I was having several issues and solved them one by one. Now I am able to send the request and getting a valid saml response and assertion token as well. However i get the following error message:

I did follow some old threads (thanks to Vladimír Schäfer) and imported the public key to samlKeystore.jks and still getting the same error. Any help is appreciated.

ERROR DETAILS:

Upvotes: 0

Views: 989

Answers (2)

Roshan
Roshan

Reputation: 77

Signature verification failed. Signature did not validate against the credential's key Signature validation using candidate validation credential failed org.opensaml.xml.validation.ValidationException: Signature did not validate against the credential's key at

This error occurs when you are trying to validate saml response or assertion with different publicKey and it signed with different public-private key pair. First verify saml response signature x509 certificate and yours idp public certificate it will not be same.

Upvotes: 1

meetarun
meetarun

Reputation: 569

below might help you, please verify your idp.xml has same public as your IDP/IDP Realm . Make sure IDP and Application in same timeZone/Time.

Upvotes: 0

Related Questions