h-mdm / hmdm-server

Mobile Device Management System for Android: web control panel. Manage Android devices, install and update apps, get device info. See website for more features!
https://h-mdm.com
Apache License 2.0
293 stars 132 forks source link

MQTT is not using TLS #101

Closed TommyTran732 closed 3 months ago

TommyTran732 commented 3 months ago

I see that mqtt is mqtt:// and not ssl://...

Can you update the source code to use TLS for mqtt?

h-mdm commented 3 months ago

We encountered issues when attempting to use TLS for MQTT: a client library (Eclipse Paho) couldn't connect. Therefore we decided to move from unencrypted MQTT to "Long polling" over HTTPS. If you concern about the connection security, please use "HTTP polling" option instead of MQTT, it has been implemented in version 5.27.