This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

MQTT & MQTTS
#2
Security is already enabled, it can be enabled via tls_set:
Code:
-- ca.pem is uploaded via `ftp` account to ftp root directory
client:tls_set('/data/ftp/ca.pem')

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.
Reply


Messages In This Thread
MQTT & MQTTS - by Hippolyte - 01.12.2017, 10:51
RE: MQTT & MQTTS - by admin - 01.12.2017, 11:39

Forum Jump: