moscajs / mosca

MQTT broker as a module
mosca.io
3.2k stars 513 forks source link

SSL Client Authentication with mosca broker #677

Open yuu94 opened 6 years ago

yuu94 commented 6 years ago

Hello. I want to perform SSL client authentication between mosca and IoT device. Is it possible now?

mcollina commented 6 years ago

Yes you can, you just have to supply the correct key, certificate and ca on both sides. I would recommend experimenting just with barebone tls module, and then do it here.

srinivasyl commented 5 years ago

@mcollina from where i can generate certificates for client and server?