< prev index next >
test/jdk/javax/net/ssl/ServerName/SSLSocketExplorerFailure.java
Print this page
*** 43,52 ****
--- 43,53 ----
import java.nio.*;
import java.nio.channels.*;
import java.util.*;
import java.net.*;
import javax.net.ssl.*;
+ import java.security.Security;
public class SSLSocketExplorerFailure {
/*
* =============================================================
*** 230,239 ****
--- 231,243 ----
volatile Exception serverException = null;
volatile Exception clientException = null;
public static void main(String[] args) throws Exception {
+ Security.setProperty("jdk.tls.disabledAlgorithms", "");
+ Security.setProperty("jdk.certpath.disabledAlgorithms", "");
+
String keyFilename =
System.getProperty("test.src", ".") + "/" + pathToStores +
"/" + keyStoreFile;
String trustFilename =
System.getProperty("test.src", ".") + "/" + pathToStores +
< prev index next >