Authentication with username and password doesnt work as expected in mosquitto broker..I am able to subscribe mosquitto_sub and publish mosquitto_pub to topics even if the username and password is wrong!! could anyone help me!!
Mosquitto.conf file includes:
created a passwords file
Loaded the config file
mosquitto -c path_to_the_config_file and the config file reloads.
Reboot the system.
Is there anything else that needs to be done?