Can anyone help me get passed this example with a self signed cert. I need to be able to allow my users to accept a self signed cert if that is what they are using.
I am using the example from : https://flutter.io/cookbook/networking/web-sockets/
Everything works fine if ssl cert is valid or SSL is not used. Just need to get passed the self signed hump
class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { final title = 'WebSocket Demo'; Map headers = new Map<String,dynamic>(); headers["XXXXXX"] = "XXXX"; headers["XXXXXX"] = "13"; headers["Origin"] = "XXXXXX"; headers["Authorization"] = "XXXXXX"; return MaterialApp( title: title, home: MyHomePage( title: title, channel: IOWebSocketChannel.connect('wss://10.1.1.154:443/rest/subscribe',headers: headers), ), ); } }