The following certificate is being used twice error in SAML Module

0
Hello, I am having a small issue with the SAML module where it throws a warning saying "The following certificate is being used twice" and despite my efforts to remove all certificates I am still getting the error. I also believe that this might be the reason why I get "Unable to validate the SAML message!" when I try to login via SSO. The Certificate storage only has 2 different certificates at the moment which I have tried removing completely before restarting the application. Even when the storage had no certificates I was still getting the error. I have also tried restarting the wizard for my SAML config as well as redeploying the project which didn't help. Is there a way to completely purge the certificate storage and could this be the reason why I am unable to validate a SAML response? P.S. We are on a licensed cloud node
asked
2 answers
0

Hi Ilja,

  I believe the warning you are seeing may be unrelated to your inability to Validate a SAML response.  The Warning about duplicate certificates sounds like this issue:https://forum.mendix.com/link/questions/88536 so based on that perhaps the thing to try is to delete the SAML configuration from your admin page completely and start over with the IdP configuration.  

  Are you getting more details about why you are unable to validate the SAML response?  There should be additional logging in the logs that give more detail about what went wrong when attempting to validate the SAML response.  Depending on how far it got in the process, there may be actual messages in the SAML Admin page visible in your application front end.  There is a Log tab on that configuration snippit that could give more information.  I believe there may be two different things going on here.

answered
0

Have you tried to adjust the logging level for the SSO module from Info to Trace?  I've found much more useful info for troubleshooting after looking at the trace logs.

answered