Skip to content

16 Chrome 'insecure site warning'

CraigD edited this page Dec 26, 2023 · 2 revisions

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:

  1. Enter chrome://flags into address bar
  2. Search for Insecure origins treated as secure
  3. Add http://SERVER:9000 (no quotes, and replace SERVER with IP, or hostname, of LMS server)
  4. 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

Clone this wiki locally