# Question on elastic search migration from 2.X to 6.X

**URL:** <https://discuss.elastic.co/t/question-on-elastic-search-migration-from-2-x-to-6-x/168234>\
**Category:** Elasticsearch\
**Created:** [February 13, 2019, 2:00pm UTC](https://discuss.elastic.co/t/question-on-elastic-search-migration-from-2-x-to-6-x/168234 "2019-02-13T14:00:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jefferychen](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jefferychen](https://discuss.elastic.co/u/jefferychen)\
**Post date:** [February 13, 2019, 2:00pm UTC](https://discuss.elastic.co/t/question-on-elastic-search-migration-from-2-x-to-6-x/168234/1 "2019-02-13T14:00:48Z")

</div>

We are trying to migrate our elasticsearch to use HighLevelRestApi. I couldn't figure out how to match couple x-pack settings in HighLevelRestApi.  
In original transport api, we disabled ssl validation from client side by setting `xpack.security.transport.ssl.verification_mode` to `none` and setting `xpack.security.transport.ssl.enabled` to`true`. How do I set these 2 values in HighLevelRestApi?

---

<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:** [March 13, 2019, 2:08pm UTC](https://discuss.elastic.co/t/question-on-elastic-search-migration-from-2-x-to-6-x/168234/2 "2019-03-13T14:08:48Z")

</div>

Closed on March 13, 2019, 2:08pm UTC

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