sleevezipper / hass-workstation-service

Provide useful sensors and services from your workstation to Home Assistant.
Apache License 2.0
613 stars 54 forks source link

Encrypted connection over TLS not working #179

Open darootler opened 2 years ago

darootler commented 2 years ago

Hi!

I am not able to get the program working with TLS enabled. Here is the config from the service:

image

Here is the log from the service:

{"@t":"2022-03-05T09:40:27.3646503Z","@m":"Connecting to MQTT broker...","@i":"9f461a72","SourceContext":"hass_workstation_service.Worker"}

And the logs from the MQTT broker:

1646473351: New connection from XXX.XXX.X.X on port 8883.
1646473351: OpenSSL Error[0]: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate
1646473351: Socket error on client <unknown>, disconnecting.

To be clear, i already have some other MQTT clients working and using this MQTT broker with TLS.

Any ideas?

Regards Richard