Whenever this code runs, I get a \'No Peer Certificate\' error.
SSL certificate is valid, bought from Namecheap (PositiveSSL). It has the CA crt before it, and opens
I have just recently gone through this problem. It wasn't the chain order that was the problem, but I have had that before.
What was the issue was that the server only accepts TLS1.2 socket connections. android 19 and lower default socket connection is TLS1 SSLSocket Docs
With the help of Enable TLS 1.2 in Android 4.4 I was able to get this to work. The question description worked for me. But please ensure that you do have the answer code in you application