Introvertuous / react-native-mqtt

Mqtt client for react native.
MIT License
156 stars 31 forks source link

use client certificate for ssl #28

Open KrifaYounes opened 4 years ago

KrifaYounes commented 4 years ago

how can we use the ssl certificate client to authorize connection between server and client? I just seeing the parameter useSSL: true/false but the client need a certificate ? like browser generate signed certificate in web site

aravindarc commented 4 years ago

@KrifaYounes we can't use client certificates on react-native in any time soon, not only this package, other packages also don't support this feature, also self signed certificates cannot be used on react-native. I had to buy a domain just for using mqtt on tls connection.

UnnatiTecocraft commented 1 year ago

Can I connect to mqtt server over SSL/TLS connection with secure domain and just by setting useSSL: true at client side?