# Encrypting Hard disk that stores data as configured in path.data

**URL:** https://discuss.elastic.co/t/encrypting-hard-disk-that-stores-data-as-configured-in-path-data/42209
**Category:** Elasticsearch
**Created:** [February 19, 2016, 4:23am UTC](https://discuss.elastic.co/t/encrypting-hard-disk-that-stores-data-as-configured-in-path-data/42209 "2016-02-19T04:23:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![arunjohn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/arunjohn/32/4874_2.png) [@arunjohn](https://discuss.elastic.co/u/arunjohn)
#### Post date: [February 19, 2016, 4:23am UTC](https://discuss.elastic.co/t/encrypting-hard-disk-that-stores-data-as-configured-in-path-data/42209/1 "2016-02-19T04:23:11Z")

</div>

As mentioned in the [post](https://discuss.elastic.co/t/how-should-i-encrypt-data-at-rest-with-elasticsearch/96)

If I use the dm-crypt tool for this, then will this have any impact when the index is being written to the configured location and also when the data is being retrieved using the elastic api ?

I was able to find a [link](https://wiki.centos.org/HowTos/EncryptedFilesystem) on how to get this done as my elastic resides on a CentOS server.

Are there any more detailed steps specifically for Elastic servers or do we just have the follow the generic steps as mentioned in the link above ?

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [February 19, 2016, 4:40am UTC](https://discuss.elastic.co/t/encrypting-hard-disk-that-stores-data-as-configured-in-path-data/42209/2 "2016-02-19T04:40:18Z")

</div>

> If I use the dm-crypt tool for this, then will this have any impact when the index is being written to the configured location and also when the data is being retrieved using the elastic api ?

No, it's all transparent is taken care of by the OS's I/O layer.

---

<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: [July 5, 2017, 11:15pm UTC](https://discuss.elastic.co/t/encrypting-hard-disk-that-stores-data-as-configured-in-path-data/42209/3 "2017-07-05T23:15:02Z")

</div>


