Error 404 after installing a SSL certificate

I put an SSL certificate on the EDX platform. Now there is a problem. Students or even unregistered users do not have access to the courses. (The server issues a 404 error). Administrators have access to all courses, and teachers only have access to their own. What might be the problem ?

Good afternoon! The problem was solved by replacing it in the LMS configuration file lms.env.json strings of LMS_PREVIEW on “localhost”.