Files
floci/docs/configuration
Mario Toffia ee2f55b784 feat(iot): MQTT over TLS listener on 8883 (#3142)
* feat(iot): floci.services.iot.mqtt.tls-port (default 8883)

* feat(iot): key manager that follows the TLS registry's current default certificate

* feat(iot): MQTT over TLS listener on 8883

Second MqttServer sharing the plaintext handlers, opened when floci.tls.enabled
is true. Its key material is the TLS registry's default configuration through a
reloading key manager, so a server certificate reissued for a learned hostname
is presented on the next handshake without rebuilding the listener. Client
certificates are requested and carried through the handshake, not yet verified.

* docs(iot): MQTT over TLS on 8883

* feat(iot): keep retired server key material readable for the life of a handshake

A retired generation of ReloadingKeyManager stays readable for 60 seconds after
its replacement, longer than Vert.x's 10 second handshake timeout, and is dropped
on the next reload after that. Any number of reloads between JSSE choosing an
alias and reading its key and chain now resolve to matching material.

* fix(iot): wait for a failed MQTT listener to close before reporting the start failure
2026-09-06 15:55:19 -05:00
..