javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
把
sslcontext = SSLContext.getInstance("SSL");
改为
sslcontext = SSLContext.getInstance("TLS");
就可以了
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
把
sslcontext = SSLContext.getInstance("SSL");
改为
sslcontext = SSLContext.getInstance("TLS");
就可以了