How do I set SSL protocol version in java? And how do I know which one? javax.net.ssl.SSLException: Received fatal alert: protocol_version
问题 I am using Apache HttpClient 4.3 to interact with the API of hubic.com. My minimal reproducable example is just a one liner: HttpClientBuilder.create().build().execute(new HttpGet("https://hubic.com")); However that throws: Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: protocol_version at sun.security.ssl.Alerts.getSSLException(Alerts.java:208) at sun.security.ssl.Alerts.getSSLException(Alerts.java:154) at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl