Skip to content

Self signed certificate - ignore warnings #17

@lawrencehead

Description

@lawrencehead

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions