# Elastic Security Error 7.3.1

**URL:** https://discuss.elastic.co/t/elastic-security-error-7-3-1/197849
**Category:** Elasticsearch
**Tags:** elastic-stack-security
**Created:** [September 3, 2019, 12:14pm UTC](https://discuss.elastic.co/t/elastic-security-error-7-3-1/197849 "2019-09-03T12:14:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![eduardobarrete](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eduardobarrete/32/53508_2.png) [@eduardobarrete](https://discuss.elastic.co/u/eduardobarrete)
#### Post date: [September 3, 2019, 12:14pm UTC](https://discuss.elastic.co/t/elastic-security-error-7-3-1/197849/1 "2019-09-03T12:14:15Z")

</div>

I'm trying to follow this blog [https://www.elastic.co/blog/getting-started-with-elasticsearch-security](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](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)

---

<div class="post-metadata">

### Author: ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)
#### Post date: [September 4, 2019, 7:58am UTC](https://discuss.elastic.co/t/elastic-security-error-7-3-1/197849/2 "2019-09-04T07:58:19Z")

</div>

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]

---

<div class="post-metadata">

### Author: ![eduardobarrete](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eduardobarrete/32/53508_2.png) [@eduardobarrete](https://discuss.elastic.co/u/eduardobarrete)
#### Post date: [September 4, 2019, 9:52am UTC](https://discuss.elastic.co/t/elastic-security-error-7-3-1/197849/3 "2019-09-04T09:52:39Z")

</div>

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

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 2, 2019, 9:52am UTC](https://discuss.elastic.co/t/elastic-security-error-7-3-1/197849/4 "2019-10-02T09:52:45Z")

</div>

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