I am new to mqtt and IoT,, using mosquitto broker, tried to extend the broker in java for the IoT application...
Is there any algorithm to detect the identity of a mqtt client and a broker???
I am new to mqtt and IoT,, using mosquitto broker, tried to extend the broker in java for the IoT application...
Is there any algorithm to detect the identity of a mqtt client and a broker???
Assuming you are talking about authenticating both the MQTT clients and broker then this is possible using Mutual TLS authentication.
Details of how to configure TLS support for mosquitto can be found in the documentation for the configuration file.
The important options are:
How you configure the client will depend on which library/language you are using