Rapsssito / react-native-tcp-socket

React Native TCP socket API for Android, iOS & macOS with SSL/TLS support.
MIT License
303 stars 81 forks source link

using "kCFStreamSSLValidatesCertificateChain" #164

Open ersinayaz opened 1 year ago

ersinayaz commented 1 year ago

Hi There, I am trying to establish a tls connection to an external device on the network. I don't have any certificate file.

When I try to connect, I get this error: The operation couldn’t be completed. (kCFStreamErrorDomainSSL error -9824.)

Is it possible to ignore all ssl errors?

Where and how I need to define kCFStreamSSLValidatesCertificateChain, I will be glad if you can help.

Regards.