01-26-2022, 02:49 PM
I have to admit that I did not try this myself, but a colleague from another institution has implemented MQTTS and added the username and password attributes, too. However, so far this has only been done on Android and it is undocumented. If you are on Android, you can try it by setting the service to mqtts/* instead of mqtt/* and use an encrypted connection.