# Enabling fips - ES 6.8

**URL:** <https://discuss.elastic.co/t/enabling-fips-es-6-8/204906>\
**Category:** Elasticsearch\
**Created:** [October 23, 2019, 3:54pm UTC](https://discuss.elastic.co/t/enabling-fips-es-6-8/204906 "2019-10-23T15:54:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![S\_Chase](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s_chase/32/33237_2.png) [@S\_Chase](https://discuss.elastic.co/u/S_Chase)\
**Post date:** [October 23, 2019, 3:54pm UTC](https://discuss.elastic.co/t/enabling-fips-es-6-8/204906/1 "2019-10-23T15:54:15Z")

</div>

The ES docs for FIPS 140.2 compliance refers to making changes to the hashing methods. Those docs state.

> You must set the cache.hash\_algo realm settings and the xpack.security.authc.password\_hashing.algorithm setting to one of the PBKDF2 values.

I can see where to put the xpack.security.authc.password\_hashing value - but I cannot locate any docs on the cache.hash\_algo realm setting. Any idea?

---

<div class="post-metadata">

**Author:** ![William\_Brafford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/william_brafford/32/51559_2.png) [@William\_Brafford](https://discuss.elastic.co/u/William_Brafford)\
**Post date:** [October 23, 2019, 8:24pm UTC](https://discuss.elastic.co/t/enabling-fips-es-6-8/204906/2 "2019-10-23T20:24:14Z")

</div>

I believe it should go in the block of data under your realm configuration. For example, if you are using LDAP:

```auto
xpack:
  security:
    authc:
      realms:
        ldap1:
          type: ldap
          [...]
          cache.hash_algo: "pbkdf2_50000"

```

It's described under [LDAP settings on the security settings page](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/security-settings.html#ref-ldap-settings). The other realm configurations also have it listed.

I haven't tried this configuration out, but I hope this points you in the right direction.

-William

---

<div class="post-metadata">

**Author:** ![S\_Chase](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/s_chase/32/33237_2.png) [@S\_Chase](https://discuss.elastic.co/u/S_Chase)\
**Post date:** [October 24, 2019, 3:10pm UTC](https://discuss.elastic.co/t/enabling-fips-es-6-8/204906/3 "2019-10-24T15:10:14Z")

</div>

thank you, that seems to have done it.

---

<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:** [November 21, 2019, 3:10pm UTC](https://discuss.elastic.co/t/enabling-fips-es-6-8/204906/4 "2019-11-21T15:10:25Z")

</div>

Closed on November 21, 2019, 3:10pm UTC

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