RemoteWebViewServer icon indicating copy to clipboard operation
RemoteWebViewServer copied to clipboard

Self signed certificate - ignore warnings

Open lawrencehead opened this issue 11 months ago • 2 comments

All working just fine on my Waveshare 7" displays, until I set up self-signed certs on my HA instance. Couldn't get the Chromium instance to trust it, but ssl errors can be bypassed with the arg "--ignore-certificate-errors" in /app/dist/browser.js. I added on line 28 as a test:

const args = [ '--ignore-certificate-errors', '--remote-debugging-port=${DEBUG_PORT}', '--no-sandbox',

And now it loads just fine.

Can this be added? Or maybe an env var to enable ignoring of ssl errors? Or, am I going about this completely wrong, is there a better way to get it to trust my root cert?

lawrencehead avatar Jan 06 '26 15:01 lawrencehead

The flag might be added in a future release, as it is quite simple. On the other hand, is there any strong reason to use SSL in a local network?

strange-v avatar Jan 19 '26 11:01 strange-v

I just hit this same issue with the HA add-on/app, I run a local CA which issues Home Assistant a certificate.

I'm not sure I can give you a strong reason for using SSL locally, but it's how I have it set up and I'd rather not change it to http on everything.

Could this flag please be added? Or even better, a way to trust the CA/root certificate?

datbilling avatar Jul 25 '26 17:07 datbilling