# Elastic-search-6.7.0 not starting after x-pack configuration

**URL:** <https://discuss.elastic.co/t/elastic-search-6-7-0-not-starting-after-x-pack-configuration/175276>\
**Category:** Elasticsearch\
**Created:** [April 3, 2019, 9:17pm UTC](https://discuss.elastic.co/t/elastic-search-6-7-0-not-starting-after-x-pack-configuration/175276 "2019-04-03T21:17:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kishorerv93](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kishorerv93/32/47194_2.png) [@kishorerv93](https://discuss.elastic.co/u/kishorerv93)\
**Post date:** [April 3, 2019, 9:17pm UTC](https://discuss.elastic.co/t/elastic-search-6-7-0-not-starting-after-x-pack-configuration/175276/1 "2019-04-03T21:17:30Z")

</div>

Hello,

I was installing elasticsearch the following is the error i get when i start elasticsearch

While i was running these below commands. I did not set any password. I just hit enter and did not specify anything regarding `xpack.security.transport.ssl.keystore.secure_password` or `xpack.security.transport.ssl.truststore.secure_password`

My config for xpack looks like this.  
`xpack.security.enabled: true`  
`xpack.security.transport.ssl.enabled: true`  
`xpack.security.transport.ssl.verification_mode: full`  
`xpack.security.transport.ssl.keystore.path: certs/master.p12`  
`xpack.security.transport.ssl.truststore.path: certs/master.p12`

Error i get when i start elasticsearch is below

`````auto

    ./bin/elasticsearch-keystore add x-pack.security.http.ssl.truststore.secure_password```

````g, -Xmx1g, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch-2470306667669047508, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Des.path.home=/home/ubuntu/elasticsearch, -Des.path.conf=/home/ubuntu/elasticsearch/config, -Des.distribution.flavor=default, -Des.distribution.type=tar]
[2019-04-03T21:12:30,354][INFO][o.e.p.PluginsService] [master] loaded module [aggs-matrix-stats]
[2019-04-03T21:12:30,355][INFO][o.e.p.PluginsService] [master] loaded module [analysis-common]
[2019-04-03T21:12:30,355][INFO][o.e.p.PluginsService] [master] loaded module [ingest-common]
[2019-04-03T21:12:30,355][INFO][o.e.p.PluginsService] [master] loaded module [ingest-geoip]
[2019-04-03T21:12:30,356][INFO][o.e.p.PluginsService] [master] loaded module [ingest-user-agent]
[2019-04-03T21:12:30,356][INFO][o.e.p.PluginsService] [master] loaded module [lang-expression]
[2019-04-03T21:12:30,356][INFO][o.e.p.PluginsService] [master] loaded module [lang-mustache]
[2019-04-03T21:12:30,357][INFO][o.e.p.PluginsService] [master] loaded module [lang-painless]
[2019-04-03T21:12:30,357][INFO][o.e.p.PluginsService] [master] loaded module [mapper-extras]
[2019-04-03T21:12:30,357][INFO][o.e.p.PluginsService] [master] loaded module [parent-join]
[2019-04-03T21:12:30,357][INFO][o.e.p.PluginsService] [master] loaded module [percolator]
[2019-04-03T21:12:30,357][INFO][o.e.p.PluginsService] [master] loaded module [rank-eval]
[2019-04-03T21:12:30,358][INFO][o.e.p.PluginsService] [master] loaded module [reindex]
[2019-04-03T21:12:30,358][INFO][o.e.p.PluginsService] [master] loaded module [repository-url]
[2019-04-03T21:12:30,358][INFO][o.e.p.PluginsService] [master] loaded module [transport-netty4]
[2019-04-03T21:12:30,358][INFO][o.e.p.PluginsService] [master] loaded module [tribe]
[2019-04-03T21:12:30,358][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-ccr]
[2019-04-03T21:12:30,359][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-core]
[2019-04-03T21:12:30,359][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-deprecation]
[2019-04-03T21:12:30,359][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-graph]
[2019-04-03T21:12:30,359][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-ilm]
[2019-04-03T21:12:30,360][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-logstash]
[2019-04-03T21:12:30,360][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-ml]
[2019-04-03T21:12:30,360][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-monitoring]
[2019-04-03T21:12:30,360][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-rollup]
[2019-04-03T21:12:30,360][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-security]
[2019-04-03T21:12:30,361][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-sql]
[2019-04-03T21:12:30,361][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-upgrade]
[2019-04-03T21:12:30,361][INFO][o.e.p.PluginsService] [master] loaded module [x-pack-watcher]
[2019-04-03T21:12:30,362][INFO][o.e.p.PluginsService] [master] no plugins loaded
[2019-04-03T21:12:34,641][WARN][o.e.b.ElasticsearchUncaughtExceptionHandler] [master] uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalArgumentException: unknown secure setting [x-pack.security.transport.ssl.keystore.secure_password] 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.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, xpack.security.transport.ssl.keystore.algorithm, xpack.security.transport.ssl.keystore.type, xpack.http.ssl.keystore.secure_password, xpack.security.http.ssl.keystore.password]?```

Can anyone advice ?

Thanks
`````

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [April 4, 2019, 4:36am UTC](https://discuss.elastic.co/t/elastic-search-6-7-0-not-starting-after-x-pack-configuration/175276/2 "2019-04-04T04:36:16Z")

</div>

Hi @kishorerv93,

Could you please paste your full config file i.e. elasticsearch.yml file here?

This error usually occur when you have mentioned **x-pack** instead of **xpack** in your config file.

> [@](#):
>
> unknown secure setting [x-pack

Br,  
Harsh Bajaj

---

<div class="post-metadata">

**Author:** ![kishorerv93](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kishorerv93/32/47194_2.png) [@kishorerv93](https://discuss.elastic.co/u/kishorerv93)\
**Post date:** [April 4, 2019, 5:22am UTC](https://discuss.elastic.co/t/elastic-search-6-7-0-not-starting-after-x-pack-configuration/175276/3 "2019-04-04T05:22:03Z")

</div>

````auto
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
xpack.security.transport.ssl.keystore.path: /home/ubuntu/elasticsearch/config/certs/vraj-cert.p12
xpack.security.transport.ssl.truststore.path: /home/ubuntu/elasticsearch/config/certs/vraj-cert.p12
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.keystore.path: /home/ubuntu/elasticsearch/config/certs/vraj-cert.p12
xpack.security.http.ssl.truststore.path: /home/ubuntu/elasticsearch/config/certs/vraj-cert.p12```
````

---

<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:** [May 2, 2019, 5:22am UTC](https://discuss.elastic.co/t/elastic-search-6-7-0-not-starting-after-x-pack-configuration/175276/4 "2019-05-02T05:22:05Z")

</div>

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