# HG changeset patch # User Matthew Wild # Date 1706623895 0 # Node ID 801f64e6d4e98c898ec119e72d145dcdb18e5a9f # Parent b109773ce6fe304d656254dc4d63d76e0bfa721b mod_pubsub_mqtt: Add TLS port (default 8883) for MQTT connections diff -r b109773ce6fe -r 801f64e6d4e9 mod_pubsub_mqtt/mod_pubsub_mqtt.lua --- a/mod_pubsub_mqtt/mod_pubsub_mqtt.lua Wed Jan 24 17:55:26 2024 +0100 +++ b/mod_pubsub_mqtt/mod_pubsub_mqtt.lua Tue Jan 30 14:11:35 2024 +0000 @@ -166,6 +166,13 @@ listener = mqtt_listener; }); +module:provides("net", { + name = "pubsub_mqtt_tls" + encryption = "ssl"; + default_port = 8883; + listener = mqtt_listener; +}); + function module.add_host(module) local pubsub_module = hosts[module.host].modules.pubsub if pubsub_module then