SAML Configuration Issues


I’m trying to configure my Open edX instance as a Service Provider so that I can SSO from an Identity Provider. I’ve followed these doc:

But when I test the connection I get the following error:
Error Details:
Authentication failed: SAML login failed: [‘invalid_response’] (No Signature found. SAML Response rejected)

And if I go to the Open edX metadata path at {your LMS URL}/auth/saml/metadata.xml I get a 500 error and the response “Invalid_xml”. So something is not right with the metadata.

Anyone have any idea of what’s going on?