Open networkfusion opened 7 years ago
@networkfusion i am having the same issue! but changing what you have suggested still throws an exception! do you have a full working code segment in MqttNetworkChannel.cs with your modifications?
Thanks
@melzoghbi know that .NET nanoFramework has just publish it's NuGet for this library. Because of the improved secure sockets implementation (over .NETMF) the above is not a problem anymore.
Check it out here.
When trying to connect when not using a client certificate in netmf v4.3.1 e.g.
MqttClient mqttc = new MqttClient(iotBrokerAddress, 8883, true, null, null, MqttSslProtocols.TLSv1_0);
An exception is thrown. This could be fixed by changing the server authentication code around line 245 in MqttNetworkChannel.cs to