0
samlResponse = ComponentPro.Saml2.Response.Create(HttpContext.Current.Request);

this line throws an exception "The SAML response signature failed to verify."

The same code works just fine on a different site on the same server. The only difference between the sites is that this site has SSL certificate installed.

Kind of new to this SSO thing so a detailed explanation is appreciated (if possible),

Thanks

1
  • I'm not familiar with component you're using - but I'm fairly experienced with SAML. Your remote party is signing the xml (SAML response) with their private certificate. You than validate with their public certificate you've stored locally, if signature matches (so the message wasn't tampered with). This error is caused by 1) message was tampered with 2) you're using wrong certificate to validate the signature. Feb 21, 2014 at 15:39

1 Answer 1

0

Nevermind, I was using wrong certificate. They had the same file names so I grabbed the wrong one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.