mkcert
mkcert copied to clipboard
Invalid CA error on ChromeOS Linux host
I tested this with SSE server and websocket server. In both cases, I can curl the URLs for both above examples with no problem but Chrome browser gives the following error - "Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID"
Unfortunately, on ChromeOS the browser is not part of the linux system, so the CA created in Linux is not recognized by the Chrome browser (or even known, or even on the same filesystem) , so you'll have to install the CA into the host-side Chrome browser or run a Linux version of Chromium on the Linux side.
A while back I experimented with this, and the workarounds are explained in https://ddevhq.org/ddev-local/ddev-docker-chromebook/
thanks @rfay