I am new to mqtt mosquitto. I want to create some user in mosquitto programmatically in C#, so that when I create topic only assigned users can subscribe to that topic.
- can I create
x509certificate
,so that my device will install these certificate and I can authenticate at the time of subscribe message. If possible then how. - if
x509certificate
is not supported by mqtt mosquitto so how authentication will work(by creation of user only or there is some other mechanism). when I am using this:
_client = MqttClientFactory.CreateClient(address, obj.ClientID,"username","password");
then broker connection error occurs.
with one topic how much user can be created.