SSLServerSocket TLSv1.2 with certificate Javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException

0

I wrote a client and server program using ServerSocket and Socket objects in Android(server and client both are android apps working for SDK>20) it was working fine. After enabling TLSv1.2 and integrating keystore file(after importing certificate) with type BKS on both sides connection has established successfully but when we write request then we are facing below exception: Javax.net.ssl.SSLHandshakeException: javax.net.ssl.SSLProtocolException: SSL handshake aborted: Failure in SSL library, usually a protocol error javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x6a385d50: Failure in SSL library, usually a protocol error error:140740B5:SSL routines:SSL23_CLIENT_HELLO:no ciphers available (external/openssl/ssl/s23_clnt.c:486 0x67e8dd18:0x00000000)

android
tls1.2
serversocket
android-security
asked on Stack Overflow Nov 20, 2018 by Suneel Tiwari • edited Nov 20, 2018 by Phantômaxx

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0