We want to secure the transport of MQTT-SN messages send over UDP e.g. with DTLS.

Searching the internet showed that there are considerations and activities on using DTLS to secure the transport of MQTT-SN messages over UDP but there doesn't seem to be much velocity behind them and I found no solution which seems to be ready for production.


  1. Are you aware about any solutions for securing the transport of MQTT-SN messages over UDP which are ready right now?
  2. Any ideas what else to investigate beside DTLS?
  • 1
    The discussions you linked to are the guys most likely to be working on this sort of thing, so if they've not got to it yet you might be out of luck. The only other option I can think of instead of DTLS is encrypted/signed payloads (which is likely to bulk up the payload a lot)
    – hardillb
    Jun 5, 2018 at 10:12

1 Answer 1


Using DTLS in the internet is just not that easy :-).

Depending on your communication environment (e.g. NATs in between) it requires either frequently resumption handshakes, or DTLS 1.2 Connection ID, or maybe DTLS 1.3 (if you find a implementation, which supports the CID there).

Your both links are Eclipse Open Source Projects. And Open Source lives from contributions of those, who are interested in a topic. So don't hesitate to start with your own experiments. For java, you may consider to use DTLS from CoAP/DTLS Californium/Scandium

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.