When trying to setup EDR "Endpoint Detection and Response" in the E UI customer gets a "Sepm returned non 200 HTTP response".
Note: See the Error Message section for the error.
EDR central_manager.log will show this:
SepmAuthenticator - Error HTTP Response from SEPM for authentication. Response : 401 SepmCommunicationMgrImpl - Failed to connect to SEPM. Most probably because of bad/invalid certificate SepmCommunicatorRemoteImpl - Error when trying to connect to SEPM. Exception : {"errorCode":"401","errorMessage":"Domain ''{0.EN_US}'' is disabled."}:name=ERROR_HTTP_RESPONSE_NOT_OK, description=Sepm returned non 200 HTTP response. There was an error.