dart-lang / web_socket_channel

StreamChannel wrappers for WebSockets.
https://pub.dev/packages/web_socket_channel
BSD 3-Clause "New" or "Revised" License
411 stars 107 forks source link

Socket connection for self signed certificate #325

Open suryan-s opened 5 months ago

suryan-s commented 5 months ago

Hello! I have written a backend script in python's FastAPI framework and I have added a self signed certificate to make the connection secure via HTTPS. Now my question is, since most of the flutter applications would require a proper CA validation, how to enable socket connection for API which is using a self signed certificate?