Migrate the rest of NettyTransport settings to the new infra
Also does some consistency clean up, renaming trasnport.netty.* settings to transport.* Closes elastic/elasticsearch#1397 Relates to https://github.com/elastic/elasticsearch/pull/16307 Original commit: elastic/x-pack-elasticsearch@4a128ff68c
This commit is contained in:
parent
0fe7716459
commit
d27b9b4b41
|
@ -8,6 +8,7 @@ package org.elasticsearch.shield.transport.netty;
|
|||
import org.elasticsearch.client.Client;
|
||||
import org.elasticsearch.common.settings.Settings;
|
||||
import org.elasticsearch.test.ShieldIntegTestCase;
|
||||
import org.elasticsearch.transport.TransportSettings;
|
||||
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
|
@ -49,7 +50,7 @@ public class IPHostnameVerificationTests extends ShieldIntegTestCase {
|
|||
.put("shield.ssl.keystore.password", "testnode-ip-only")
|
||||
.put("shield.ssl.truststore.path", keystore.toAbsolutePath()) // settings for client truststore
|
||||
.put("shield.ssl.truststore.password", "testnode-ip-only")
|
||||
.put("transport.host", "127.0.0.1")
|
||||
.put(TransportSettings.BIND_HOST.getKey(), "127.0.0.1")
|
||||
.put("network.host", "127.0.0.1")
|
||||
.put("shield.ssl.client.auth", "false")
|
||||
.put(ShieldNettyTransport.HOSTNAME_VERIFICATION_SETTING, true)
|
||||
|
|
Loading…
Reference in New Issue