sp-react-native-mqtt icon indicating copy to clipboard operation
sp-react-native-mqtt copied to clipboard

Certificate based connexion

Open tanguy-roberjot opened this issue 5 years ago • 3 comments

Hi ! Is there a way to pass options like key, cert and ca to open a certificate based connection with this library like in this example of the mqtt.js library : https://github.com/mqttjs/MQTT.js/blob/master/examples/tls%20client/mqttclient.js ? I managed to implement this on react native but it opens a wss connection and not mqqt over tcp.

tanguy-roberjot avatar Jan 23 '20 01:01 tanguy-roberjot

@tanguy-roberjot do you find some solutions?

FrozenPyrozen avatar Dec 03 '20 15:12 FrozenPyrozen

@tanguy-roberjot I am also looking for certificate/key based auth did you mange solve this by any chance?

ravindranpandu avatar Mar 04 '21 09:03 ravindranpandu

using my fork bro. I just added certificate(.p12) koten551/sp-react-native-mqtt reading my docs for more infomation

koten551 avatar Sep 22 '22 06:09 koten551