# Elasticsearch is not starting owing to wrong file permission

**URL:** <https://discuss.elastic.co/t/elasticsearch-is-not-starting-owing-to-wrong-file-permission/118855>\
**Category:** Elasticsearch\
**Created:** [February 7, 2018, 1:55pm UTC](https://discuss.elastic.co/t/elasticsearch-is-not-starting-owing-to-wrong-file-permission/118855 "2018-02-07T13:55:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [February 7, 2018, 2:07pm UTC](https://discuss.elastic.co/t/elasticsearch-is-not-starting-owing-to-wrong-file-permission/118855/2 "2018-02-07T14:07:47Z")

</div>

This is not about the permissions, but the fact that you need to move the certificates into the `config` directory of Elasticsearch.

Elasticsearch is using the java security manager on startup, that is configured by a rule, that only allows opening of files in the config directory but not in arbitrary directories.

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-is-not-starting-owing-to-wrong-file-permission/118855)._
