fix for a ssl bug that appear only in java 7.

The bug was reported in
http://forum.yacy-websuche.de/viewtopic.php?f=23&t=5407&p=30956#p30956
a solution was described in
http://teknosrc.com/javax-net-ssl-sslprotocolexception-handshake-alert-unrecognized_name-solved/
which worked for this example given in the yacy forum
pull/1/head
Michael Peter Christen 10 years ago
parent e96490e3a1
commit 11074d8d24

@ -579,6 +579,7 @@ public final class yacy {
public static void main(String args[]) {
try {
System.setProperty("jsse.enableSNIExtension", "false"); // fix a ssl problem in Java 1.7, see http://teknosrc.com/javax-net-ssl-sslprotocolexception-handshake-alert-unrecognized_name-solved/
// check assertion status
//ClassLoader.getSystemClassLoader().setDefaultAssertionStatus(true);

Loading…
Cancel
Save