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