A call to SSPI failed, see inner exception paho m2mqtt Dot.Net(c#) client SSL/TLS connection
- 阅读更多 关于 A call to SSPI failed, see inner exception paho m2mqtt Dot.Net(c#) client SSL/TLS connection
问题 I am trying to connect with mosquitto broker using m2mqtt c# client version 4.3.0 library via SSL/TLS. Below is the code I have tried static void Main(string[] args) { // create client instance MqttClient client = new MqttClient(IPAddress.Parse("127.0.0.1"), 8883, true, new X509Certificate2("C:\\Users\\hp\\Desktop\\certificate\\ca.crt"), new X509Certificate2("C:\\Users\\hp\\Desktop\\certificate\\client.crt"), MqttSslProtocols.TLSv1_2); // register to message received client