fix #691 (reopens #685)

This commit is contained in:
Athou
2014-12-12 15:17:36 +01:00
parent 906801e13c
commit 34c5c0b1f7

View File

@@ -58,9 +58,6 @@ public class HttpGetter {
private static SSLContext SSL_CONTEXT = null;
static {
// fix for "handshake alert: unrecognized_name"
System.setProperty("jsse.enableSNIExtension", "false");
try {
SSL_CONTEXT = SSLContext.getInstance("TLS");
SSL_CONTEXT.init(new KeyManager[0], new TrustManager[] { new DefaultTrustManager() }, new SecureRandom());