mirror of
https://github.com/Graylog2/graylog2-server.git
synced 2026-03-13 09:32:21 +08:00
@@ -111,11 +111,6 @@ public class OpensearchSecurityConfiguration {
|
||||
config.put("plugins.security.ssl.transport.truststore_filepath", TRUSTSTORE_FILENAME);
|
||||
config.put("plugins.security.ssl.transport.truststore_password", truststore.passwordAsString());
|
||||
|
||||
// this disables hostname verification for transport. It's a workaround for localnode communication
|
||||
// via SSL, where Opensearch still tries to communicate with 'localhost' and not the publish_host or other
|
||||
// configured node names.
|
||||
config.put("plugins.security.ssl.transport.enforce_hostname_verification", "false");
|
||||
|
||||
config.put("plugins.security.ssl.http.enabled", "true");
|
||||
|
||||
config.put("plugins.security.ssl.http.keystore_type", KEYSTORE_FORMAT);
|
||||
|
||||
Reference in New Issue
Block a user