MQTT + TLS encryption?

Hey all!

Just now getting around to studying up on MQTT as a communications protocol between a cloud based web dashboard (Node-Red on Digital Ocean) and an installation running TouchDesigner.

The user would access the dashboard over the internet, and adjust parameters - and the dashboard sends the appropriate key-value pairs through MQTT to Touch Designer.


I’ve already prototyped this and it works! pretty neat - however my next step was figuring out how to secure it properly.

The internet seems to regard TLS as the standard, and I see plenty of explanations on how to implement this via code, not sure really how to set this up from TouchDesigner’s end… or if it supports encryption at the moment.

There doesn’t seem to be any settings pertaining to certificates, keys, username and pass.
Is there any way to do this?

Thanks!
Lucas