Internal services are not functioning properly after using my own SSL

Hi Team,

I enabled my own paid SSL by using this docs. Now LMS, Studio and discovery running fine with my own SSL. But some internal services are using http. For instance, if I enable student notes in any course and access the course in the LMS, i’m getting below error.

In the browser console, this log shows:

I’m using tutor, version 14.0.4.

I did the following steps:

  1. Finished the installation using the built-in SSL:
    SSL/TLS certificates for HTTPS access activated? : Y
  2. tutor local stop
  3. Clear discovery cache:
    tutor local run discovery ./manage.py shell -c “from django.core.cache import cache; cache.clear()”
  4. tutor config save --set ENABLE_WEB_PROXY=false --set CADDY_HTTP_PORT=81
  5. tutor config save --set ENABLE_HTTPS=false
  6. tutor local quickstart
    Activate SSL/TLS certificates for HTTPS access?: N
  7. configured Nginx webserver

can you please help to figure out the issue? Also, let me know if any configuration missing.

Noooooooooooooooooooooooooooo

https://docs.tutor.overhang.io/tutorials/proxy.html

If you want to run Open edX at https://... urls (as you probably do in production) it is crucial that the ENABLE_HTTPS flag is set to true.

Thanks @regis

Do you mean I have to run:

tutor config save --set ENABLE_HTTPS=true
tutor local quickstart
Activate SSL/TLS certificates for HTTPS access?: N

Will it solve my issue?

Just answer “y” to “Activate SSL/TLS certificates for HTTPS access?”. It’s the same as setting ENABLE_HTTPS=true.

1 Like