From 3848ef364431ff4f630ee5fd1c17e2e06f1228ce Mon Sep 17 00:00:00 2001 From: jaymode Date: Wed, 6 May 2015 13:57:04 -0400 Subject: [PATCH] [Test] use elastic.co instead of elasticsearch.com The elasticsearch.com SSL cert expired causing these tests to fail. Just use elastic.co instead. Original commit: elastic/x-pack-elasticsearch@b54895e6b8d6d2ebdbb8b52e2dc21bc3b80c7689 --- .../org/elasticsearch/shield/ssl/ClientSSLServiceTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/elasticsearch/shield/ssl/ClientSSLServiceTests.java b/src/test/java/org/elasticsearch/shield/ssl/ClientSSLServiceTests.java index 2d2a48729ea..e896d671fba 100644 --- a/src/test/java/org/elasticsearch/shield/ssl/ClientSSLServiceTests.java +++ b/src/test/java/org/elasticsearch/shield/ssl/ClientSSLServiceTests.java @@ -171,7 +171,7 @@ public class ClientSSLServiceTests extends ElasticsearchTestCase { // Execute a GET on a site known to have a valid certificate signed by a trusted public CA // This will result in a SSLHandshakeException if the SSLContext does not trust the CA, but the default // truststore trusts all common public CAs so the handshake will succeed - client.execute(new HttpGet("https://www.elasticsearch.com/")); + client.execute(new HttpGet("https://www.elastic.co/")); } } @@ -187,7 +187,7 @@ public class ClientSSLServiceTests extends ElasticsearchTestCase { // Execute a GET on a site known to have a valid certificate signed by a trusted public CA // This will result in a SSLHandshakeException because the truststore is the testnodestore, which doesn't // trust any public CAs - client.execute(new HttpGet("https://www.elasticsearch.com/")); + client.execute(new HttpGet("https://www.elastic.co/")); fail("A SSLHandshakeException should have been thrown here"); } catch (Exception e) { assertThat(e, instanceOf(SSLHandshakeException.class));