react-native-mqtt

I'm working with react_native_mqtt and need to implement secure mqtt communication between client and sever

雨燕双飞 提交于 2020-05-30 04:41:52
问题 While connecting to the mqtt server I'm setting useSSL to true. 443 port is being used. I need to use SSL pinning with this call, is setting useSSL flag enough? If not then suggest me the way in which I can use SSL pinning to securely connect with the server. I didn't fine anything related to certificate pinning in the react_native_mqtt library. Also, one of the libraries suggested to connect using node's tls.connect(). If anyone have used this ever please share. Thanks 来源: https:/