Elasticsearch x-paxk error

When i run ./Elasticsearch it's gives an error how do i reconfiugure keystore or else ?

uncaught exception in thread [main]
java.lang.IllegalArgumentException: unknown secure setting [xpack.security.transport.ssl.keystore.secure_password123] did you mean any of [xpack.security.transport.ssl.keystore.secure_password, xpack.security.transport.ssl.keystore.secure_key_password, xpack.security.transport.ssl.truststore.secure_password, xpack.security.transport.ssl.keystore.key_password, xpack.security.transport.ssl.keystore.password, xpack.security.http.ssl.keystore.secure_password, xpack.security.transport.ssl.truststore.password, xpack.security.transport.ssl.keystore.algorithm, xpack.security.http.ssl.keystore.secure_key_password, xpack.security.http.ssl.truststore.secure_password, xpack.security.http.ssl.keystore.key_password, xpack.security.transport.ssl.keystore.path]?
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:561)
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:507)
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:477)
	at org.elasticsearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:447)
	at org.elasticsearch.common.settings.SettingsModule.<init>(SettingsModule.java:137)
	at org.elasticsearch.node.Node.<init>(Node.java:500)
	at org.elasticsearch.node.Node.<init>(Node.java:309)
	at org.elasticsearch.bootstrap.Bootstrap$5.<init>(Bootstrap.java:234)
	at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:234)
	at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:434)
	at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:166)
	at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:157)
	at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:77)
	at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:112)
	at org.elasticsearch.cli.Command.main(Command.java:77)
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:122)
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:80)
For complete error details, refer to the log at /home/harsh/Downloads/elasticsearch-7.16.3-linux-x86_64/elasticsearch-7.16.3/logs/my-cluster.log

bin/elasticsearch-keystore remove "xpack.security.transport.ssl.keystore.secure_password123"

and then

bin/elasticsearch-keystore add "xpack.security.transport.ssl.keystore.secure_password"
1 Like

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