We have an old server (windows server 2003) which only supports older SSL/TLS and cipher suites. This is a problem and we are working on upgrading it. Android 7 does not seem to accept this and I need a quick-fix to go around this problem.
How do I allow arbitrary loads like App Transport Security Settings in iOS 9? We had the same problem there. There is nothing wrong with our certificate we just need Android 7 to accept the connection, I think the problem is TLS 1.0.
W/System.err: javax.net.ssl.SSLHandshakeException: Connection closed by peer
W/System.err: at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
Everything is working fine on Android 6 and below.