function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Peter CowenPeter Cowen 

single sign on issue The Signature in the assertion is not valid

We have an issue where we are attempting to use SSO but it is erroring in Salesforce. The Certifcates have not expired. Our ADFS Server is functioning successfully and it is sending the SAML without an issue.

When checking the logs we see
Signature or certificate problems
  The signature in the assertion is not valid
  Is the correct certificate supplied in the keyinfo? false

Has anyone come across this before?

 

Best Answer chosen by Peter Cowen
SandhyaSandhya (Salesforce Developers) 
Hi Peter Cowen,

There are few reasons to have this error, please refer below Salesforce help document.

https://help.salesforce.com/apex/HTViewHelpDoc?id=sso_saml_validation_errors.htm&language=en
 
Below are the posts for the same issue try to refer those you may get some information.

https://developer.salesforce.com/forums/?id=906F00000009B1rIAE
 
https://developer.salesforce.com/forums/?id=906F00000009AlkIAE
 
https://blog.rhysgoodwin.com/cloud/salesforce-sso-with-adfs-2-0-everything-you-need-to-know/
 
Hope this helps you!

Please mark it as BestAnswer if this helps you so that it will make available for other as a proper solution.

Thanks and Regards
Sandhya

All Answers

SandhyaSandhya (Salesforce Developers) 
Hi Peter Cowen,

There are few reasons to have this error, please refer below Salesforce help document.

https://help.salesforce.com/apex/HTViewHelpDoc?id=sso_saml_validation_errors.htm&language=en
 
Below are the posts for the same issue try to refer those you may get some information.

https://developer.salesforce.com/forums/?id=906F00000009B1rIAE
 
https://developer.salesforce.com/forums/?id=906F00000009AlkIAE
 
https://blog.rhysgoodwin.com/cloud/salesforce-sso-with-adfs-2-0-everything-you-need-to-know/
 
Hope this helps you!

Please mark it as BestAnswer if this helps you so that it will make available for other as a proper solution.

Thanks and Regards
Sandhya
This was selected as the best answer
Peter CowenPeter Cowen
Followed the articles and both the signature and certificates are both valid.
Barry ShaoBarry Shao
We met one issue when we validate the SAML Single Sign-On. The error message is  'Unable to parse the response Premature end of file'. Is there any body can help solve this issue?