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
315 stars 141 forks source link

MQTT is not using TLS #101

Closed TommyTran732 closed 5 months ago

TommyTran732 commented 5 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 5 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.