dm-sso-endpoint loading over http on ssl domain mapped subsite

dm-sso-endpoint loading over http on ssl domain mapped subsite is loading as HTTP is and provoking a mixed content issue. It just happens in one subsite.