diff --git a/test/sun/net/www/http/HttpClient/B8025710.java b/test/sun/net/www/http/HttpClient/B8025710.java index 97368a80e13c1c78744aa2fa3dd34ecb7cf63980..4b9f22569ef6ffa9fff8538ccb3d8b282f3adc05 100644 --- a/test/sun/net/www/http/HttpClient/B8025710.java +++ b/test/sun/net/www/http/HttpClient/B8025710.java @@ -37,6 +37,7 @@ import javax.net.ssl.*; * @test * @bug 8025710 * @summary Proxied https connection reuse by HttpClient can send CONNECT to the server + * @run main/othervm B8025710 */ public class B8025710 { @@ -47,6 +48,9 @@ public class B8025710 { private static final String passphrase = "passphrase"; public static void main(String[] args) throws Exception { + // test uses legacy MD5 based cert + Security.setProperty("jdk.certpath.disabledAlgorithms", ""); + Security.setProperty("jdk.tls.disabledAlgorithms", ""); new B8025710().runTest(); if (connectInServer.get())