mkcert icon indicating copy to clipboard operation
mkcert copied to clipboard

Invalid CA error on ChromeOS Linux host

Open fitsum opened this issue 3 years ago • 2 comments

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"

fitsum avatar Jun 15 '21 03:06 fitsum

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/

rfay avatar Jun 15 '21 03:06 rfay

thanks @rfay

fitsum avatar Jun 15 '21 18:06 fitsum