In server side, -Use SSLServerSocket class created in SSLServerSocketFactory -Cipher suite : TLS_RSA_WITH_AES_128_CBC_SHA256 is set to setEnabledCipherSuites() -Crypto protocol : Default value In client side, -Use SSLServerSocket class created in SSLServerSocketFactory -Cipher suite : Set all the cipher suites by SSLSocket.getSupportedCipherSuites() to SSLSocket.setEnabledCipherSuites() -Crypto protocol :Set all the encrypto protocols by SSLSocket.getSupportedProtocols() to SSLSocket.setEnabledProtocols() -All the supported cipher suites and crypto protcols are enabled. Then, The client and server try to communicate in SSL, javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure occurs.
|