Open tehXor opened 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.
Describe the bug
When enabling TLS (with the use of Let's Encrypt certificates) mosquitto is unable to connect. After
Client (null) sending CONNECT
it just throws anError: Unknown error.
without further output, although the-d
flag for debug output is set. Connecting with TLS disabled on the MQTT adapter works. Connecting withopenssl s_client -connect
and TLS enabled on the MQTT adapter also looks good and every certificate in the chain could be verified. Even with the debug flag the MQTT adapter log shows no entries of these failed connections.To Reproduce
Steps to reproduce the behavior:
SSL
checkbox and use public, private and chain certificate files from Let's Encrypt for your domain under which ioBroker is reachable (and optionally set the port to 8883 to ensure clients will pick up that they should use TLS).mosquitto
packages:apt install mosquitto*
mosquitto_pub -h my.iobroker.domain -t test -m "hello" -p 8883 -u "test" -P "t35t" --tls-use-os-certs -d
(you can also try all other TLS related flags)Error: Unknown error.
no matter which mosquitto flags you try.Expected behavior
It should publish the test message just like it does when TLS (the
SSL
flag in the MQTT adapter options) is disabled.Screenshots & Logfiles
mosquitto_pub -h my.iobroker.domain -t test -m "hello" -p 8883 -u "test" -P "t35t" --tls-use-os-certs -d
:openssl s_client -connect my.iobroker.domain:8883
:Adapter log:
Versions: