# Reindex API from remote server

**URL:** <https://discuss.elastic.co/t/reindex-api-from-remote-server/270743>\
**Category:** Elasticsearch\
**Created:** [April 20, 2021, 4:43pm UTC](https://discuss.elastic.co/t/reindex-api-from-remote-server/270743 "2021-04-20T16:43:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cool\_aarti2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cool_aarti2/32/84352_2.png) [@cool\_aarti2](https://discuss.elastic.co/u/cool_aarti2)\
**Post date:** [April 20, 2021, 4:43pm UTC](https://discuss.elastic.co/t/reindex-api-from-remote-server/270743/1 "2021-04-20T16:43:31Z")

</div>

Hi,

We have a remote server which have some elastic indices.  
I would like to reindex the data from this server onto another. But I am getting the error:  
"type": "s\_s\_l\_handshake\_exception",  
"reason": "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"

When I checked the documentation, its talking about specifying the setting "reindex.ssl.certificate\_authorities".

What is should be set in this parameter? Should it be set in the source or the destination elastic server?  
Is there anyway, I can suppress the ssl certificate while reindexing.

Regards,  
Aarti

---

<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 18, 2021, 4:43pm UTC](https://discuss.elastic.co/t/reindex-api-from-remote-server/270743/2 "2021-05-18T16:43:33Z")

</div>

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