Commit 22650d6e by Madhan Neethiraj

ATLAS-1427: update tests for the changes in default SSL protocols support

parent 46f539e1
......@@ -42,6 +42,10 @@ public class BaseSSLAndKerberosTest extends BaseSecurityTest {
protected File httpKeytabFile;
protected File userKeytabFile;
protected BaseSSLAndKerberosTest() {
System.setProperty("https.protocols", "TLSv1.2");
}
class TestSecureEmbeddedServer extends SecureEmbeddedServer {
public TestSecureEmbeddedServer(int port, String path) throws IOException {
......
......@@ -75,6 +75,7 @@ public class SecureEmbeddedServerTestBase {
System.setProperty("javax.net.ssl.trustStore", DEFAULT_KEYSTORE_FILE_LOCATION);
System.setProperty("javax.net.ssl.trustStorePassword", "keypass");
System.setProperty("javax.net.ssl.trustStoreType", "JKS");
System.setProperty("https.protocols", "TLSv1.2");
}
@BeforeClass
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment