MQTT & MQTTS - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: MQTT & MQTTS (/showthread.php?tid=1122) |
MQTT & MQTTS - Hippolyte - 01.12.2017 Hello everyone, I am using MQTT packages that embedded systems propose. It is working great and I have a few questions about MQTT in general. Is the mqtt instance running on Logic Machines able to execute secured mqtt (mqtts) ? If yes, how and where do we have to store the cafile, certfile, keyfile, crlfile? Does the mqtt instance running on Logic Machines have broker capabilities, i.e. is it possible to: Publish topics locally and then subscribe to these topics from another mqtt-enabled computer? Subscribe to topics locally and then publish to these topics from another mqtt-enabled computer? Thx to all of you for your help RE: MQTT & MQTTS - admin - 01.12.2017 Security is already enabled, it can be enabled via tls_set: Code: -- ca.pem is uploaded via `ftp` account to ftp root directory If you also need client certificate/private key: Code: client:tls_set('/data/ftp/ca.pem', nil, '/data/ftp/client.crt', '/data/ftp/client.key') Running broker is theoretically possible, but currnet packages only allow client mode. |