Elastic Security Error 7.3.1

I'm trying to follow this blog https://www.elastic.co/blog/getting-started-with-elasticsearch-security using the version 7.3.1 but i stumble after running this command

$ bin/elasticsearch

Error..OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Exception in thread "main" 2019-09-03 15:10:21,128 main ERROR No Log4j 2 configuration file found. Using default configuration (logging only errors to the console), or user programmatically provided configurations. Set system property 'log4j2.debug' to show Log4j 2 internal initialization logging. See https://logging.apache.org/log4j/2.x/manual/configuration.html for instructions on how to configure Log4j 2
SettingsException[elasticsearch.yaml was deprecated in 5.5.0 and must be renamed to elasticsearch.yml]
at org.elasticsearch.node.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:72)
at org.elasticsearch.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:95)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:115)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)

are you using a fresh install? how did you install elasticsearch? Have you renamed some configuration files, see

SettingsException[elasticsearch.yaml was deprecated in 5.5.0 and must be renamed to elasticsearch.yml]

Hi Alex,

I already figure it out. Yes im using fresh install. I did is instead of using the command

$ bin/elasticsearch-certutil cert -out config/elastic-certificates.p12 -pass ""

I just use the $ bin/elasticsearch-certutil cert

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