[TEST] Certificate NONE not allowed in FIPS JVM (#32753)

Certificate NONE not allowed when running in a FIPS JVM
This commit is contained in:
Albert Zaharovits 2018-08-10 19:37:05 +03:00 committed by GitHub
parent c7b1ba33aa
commit 1dcf80795a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -134,7 +134,6 @@ public class HttpExporterSslIT extends MonitoringIntegTestCase {
clearTransientSettings("plaintext");
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/32673")
public void testCanAddNewExporterWithSsl() {
Path truststore = getDataPath("/org/elasticsearch/xpack/monitoring/exporter/http/testnode.jks");
assertThat(Files.exists(truststore), CoreMatchers.is(true));
@ -145,7 +144,7 @@ public class HttpExporterSslIT extends MonitoringIntegTestCase {
.put("xpack.monitoring.exporters._new.host", "https://" + webServer.getHostName() + ":" + webServer.getPort())
.put("xpack.monitoring.exporters._new.ssl.truststore.path", truststore)
.put("xpack.monitoring.exporters._new.ssl.truststore.password", "testnode")
.put("xpack.monitoring.exporters._new.ssl.verification_mode", VerificationMode.NONE.name())
.put("xpack.monitoring.exporters._new.ssl.verification_mode", VerificationMode.CERTIFICATE.name())
.build();
updateSettings.transientSettings(settings);
final ActionFuture<ClusterUpdateSettingsResponse> future = client().admin().cluster().updateSettings(updateSettings);