thingsboard / thingsboard-gateway

Open-source IoT Gateway - integrates devices connected to legacy and third-party systems with ThingsBoard IoT Platform using Modbus, CAN bus, BACnet, BLE, OPC-UA, MQTT, ODBC and REST protocols
https://thingsboard.io/docs/iot-gateway/what-is-iot-gateway/
Apache License 2.0
1.76k stars 846 forks source link

TLS support and logging #1415

Open Godsgrav3 opened 6 months ago

Godsgrav3 commented 6 months ago

Describe the issue Connection logging: I recently started testing the thingsboard gateway and had some good results after following the documentation (https://thingsboard.io/docs/iot-gateway/getting-started/), but one thing I cannot get too work is the log in the MQTT connector (step 3). Do I need to enable something else that is not on the getting started page?

TLS connection: One of our must haves is the ability to connect to a host over port 8883 (tls), now I do see that there is a "basic" option in the security section of the broker, which I currently use with the correct username and password. Next to that I have used the documentation here https://thingsboard.io/docs/user-guide/mqtt-over-ssl/ to create the pem files. But sadly I still do not see the expected device in "devices". Also doesn't help that I don't have logs :). Is there another requirement that I must do before I can use TLS?

Connector name (If you need help with some connector/converter): MQTT connector with tls

Versions (please complete the following information):