Skip to content

support for self signed certificates #88

@rburgst

Description

@rburgst

Is your feature request related to a problem? Please describe.
My homeassistant is using a self signed certificate, right now, I cannot connect to it as I get

2023-08-30 06:36:15.460  - error: hass.0 (35370) Error: self-signed certificate

Describe the solution you'd like
It would be great to have another checkbox to be able to ignore certificate errors
This should be quite easy to do via

const client = new WebSocket();
client.connect(WSSrvUrl, null, null, null, {rejectUnauthorized: false});

see https://stackoverflow.com/a/68750487

Describe alternatives you've considered
Otherwise I would need to setup HA to serve both http and https which is quite a hassle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions