HttpClient异常:javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
这个错误可以使用以下方法配置HttpClient来解决:SSLContextsslContext=SSLContext.getDefault();SSLConnectionSocketFactorysslConnectionFactory=newSSLConnectionSocketFactory(sslContext,newString[]{"TLSv1.2"},null,NoopHostnam