Self signed certificate - ignore warnings
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?
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?
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?