Unable to Connect to WebSocket Server with Self-Signed Certificate in Android using OkHttp
I’m trying to connect to a WebSocket server using OkHttp in an Android application. The server uses a self-signed certificate. While I can successfully connect to the server using wscat from the command line, my Android app fails to connect.