i just clone moodle from my development server to production server.
everything works fine except mobile app cannot connect to our production server (but it's connected to our moodle installation in development server).
from the production server moodle's admin panel i found this message It seems that the HTTPS certificate is self-signed or not trusted. The mobile app will only work with trusted sites.
i use certificate from letsencrypt (free 😁) installed using certbot (both on my development and production server). i have verified the certificate using ssllabs.com and digicert.com and everything is OK (got Grade A in ssllabs.com)
this is my setup (both on production & development server):
- Centos 7 😀 on production server (i know it's obsolete but this is all i got from the IT dept)
- Centos 8 on development server
- PHP 7.4
- MariaDB v15.1
- Moodle 3.10
- Letsencrypt R3 (free) for SSL
the strange thing is the mobile app work on my development server but can't connected to production server with error mentioned above (not found this error in my development server).
is upgrading the OS (from centos 7.9 to 8.3) will solve the problem ? i mean it's on production server and already running for days (i can take it down for upgrade in the midnight).
or maybe there is another workaround for this ?
any clue will be appreciated