Given this stack trace snippet
Caused by: java.net.SocketException: Software caused connection abort: socket write error &nbs
ssl client side will throw such exception in below situation(I had tested), :
server is asked to authenticate client certificate, but the client provide a certificate which Extended Key Usage donot support client auth.