Skip to content

Commit

Permalink
[TEST] Certificate NONE not allowed in FIPS JVM (#32753)
Browse files Browse the repository at this point in the history
Certificate NONE not allowed when running in a FIPS JVM
  • Loading branch information
albertzaharovits committed Aug 10, 2018
1 parent 3db5292 commit d777b67
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ public void testCanUpdateSslSettingsWithNoSecureSettings() {
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));
Expand All @@ -145,7 +144,7 @@ public void testCanAddNewExporterWithSsl() {
.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);
Expand Down

0 comments on commit d777b67

Please sign in to comment.