jomjol / AI-on-the-edge-device

Easy to use device for connecting "old" measuring units (water, power, gas, ...) to the digital world
https://jomjol.github.io/AI-on-the-edge-device-docs/
5.26k stars 580 forks source link

TLS not working - supported? #3053

Closed MrDonCherry closed 2 months ago

MrDonCherry commented 2 months ago

I updated the config.ini with the parameter from the Docu 1.6.1 Parameter CACert in the following manner [MQTT] Uri = mqtt://myserver:8883 MainTopic = gaszaehler CACert = /config/certs/ca.pem

I tried 1st .crt and also .pem format for the root certificate.

In the log from my mosquitto server, I find the following entry.

1714143887: New connection from x.x.x.x:57438 on port 8883. 1714143887: OpenSSL Error[0]: error:0A00010B:SSL routines::wrong version number 1714143887: Client disconnected: Protocol error.

Is TLS supported?

haverland commented 2 months ago

Sorry, is not. The main space is too small to enable ssl/tls.