-
Notifications
You must be signed in to change notification settings - Fork 76
16 Chrome 'insecure site warning'
As LMS is served over HTTP, and not HTTPS, Chrome/Chromium will show an 'insecure site' warning when accessing the page, and this is mainly visible when Material is saved as a WebApp, or shortcut. This can be disabled via chrome's flags:
- Enter
chrome://flags
into address bar - Search for
Insecure origins treated as secure
- Add
http://SERVER:9000
(no quotes, and replace SERVER with IP, or hostname, of LMS server) - Click
Relaunch
If when starting Chrome/Chromium you see You are using an unsupported command-line flag: --unsafely-treat-insecure-origin-as-secure=http://SERVER:9000. Stability and security will suffer.
Then you need to edit the Chrome/Chromium short-cut and add --test-type
to the command-line arguments. Because of this, it's perhaps better to have both of these set for just the Chrome/Chromium LMS/Material shortcut, e.g. a) undo setting from flags, b) edit the Chrome/Chromium short-cut to have --unsafely-treat-insecure-origin-as-secure=http://SERVER:9000 --test-type