ES 7.2.1 Node fails to join due to incorrect text in http secure store

Hi All,
I have setup 7.2.1 cluster successfully with 3 nodes.
While enabling the http security, I incorrectly entered following command on one of the node:

elasticsearch/bin/elasticsearch-keystore add xpack.security.http.ssl.transportstore.secure_password

Notice "transportstore" in above, instead of "truststore".
How can I fix this error ?

Next, node fails to startup with following log, other 2 nodes came up and formed a cluster:

[2019-12-31T06:49:10,905][INFO ][o.e.p.PluginsService     ] [data1] no plugins loaded

[2019-12-31T06:49:20,604][ERROR][o.e.b.Bootstrap ] [data1] Exception
java.lang.IllegalArgumentException: unknown secure setting [xpack.security.http.ssl.transportstore.secure_password] did you mean any of [xpack.security.http.ssl.truststore.secure_password, xpack.security.http.ssl.keystore.secure_password, xpack.security.http.ssl.truststore.password, xpack.security.transport.ssl.truststore.secure_password, xpack.security.http.ssl.keystore.secure_key_password, xpack.security.http.ssl.keystore.key_password, xpack.http.ssl.truststore.secure_password, xpack.security.transport.ssl.keystore.secure_password, xpack.security.http.ssl.keystore.password]?
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:531) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:476) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:447) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:418) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:148) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.node.Node.(Node.java:342) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.node.Node.(Node.java:251) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:221) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) [elasticsearch-cli-7.2.1.jar:7.2.1]
at org.elasticsearch.cli.Command.main(Command.java:90) [elasticsearch-cli-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115) [elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) [elasticsearch-7.2.1.jar:7.2.1]
[2019-12-31T06:49:20,660][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] [data1] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown secure setting [xpack.security.http.ssl.transportstore.secure_password] did you mean any of [xpack.security.http.ssl.truststore.secure_password, xpack.security.http.ssl.keystore.secure_password, xpack.security.http.ssl.truststore.password, xpack.security.transport.ssl.truststore.secure_password, xpack.security.http.ssl.keystore.secure_key_password, xpack.security.http.ssl.keystore.key_password, xpack.http.ssl.truststore.secure_password, xpack.security.transport.ssl.keystore.secure_password, xpack.security.http.ssl.keystore.password]?
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:163) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:150) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) ~[elasticsearch-cli-7.2.1.jar:7.2.1]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-cli-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92) ~[elasticsearch-7.2.1.jar:7.2.1]
Caused by: java.lang.IllegalArgumentException: unknown secure setting [xpack.security.http.ssl.transportstore.secure_password] did you mean any of [xpack.security.http.ssl.truststore.secure_password, xpack.security.http.ssl.keystore.secure_password, xpack.security.http.ssl.truststore.password, xpack.security.transport.ssl.truststore.secure_password, xpack.security.http.ssl.keystore.secure_key_password, xpack.security.http.ssl.keystore.key_password, xpack.http.ssl.truststore.secure_password, xpack.security.transport.ssl.keystore.secure_password, xpack.security.http.ssl.keystore.password]?
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:531) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:476) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:447) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:418) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.common.settings.SettingsModule.(SettingsModule.java:148) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.node.Node.(Node.java:342) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.node.Node.(Node.java:251) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Bootstrap$5.(Bootstrap.java:221) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:221) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:349) ~[elasticsearch-7.2.1.jar:7.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:159) ~[elasticsearch-7.2.1.jar:7.2.1]
... 6 more

Thanks!
DP

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.