[TEST] Certificate NONE not allowed in FIPS JVM (#32753)
Certificate NONE not allowed when running in a FIPS JVM
This commit is contained in:
parent
c7b1ba33aa
commit
1dcf80795a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue