# Which cert do I use and where do I stick it?

**URL:** <https://discuss.elastic.co/t/which-cert-do-i-use-and-where-do-i-stick-it/297031>\
**Category:** Elasticsearch\
**Tags:** ccs-cross-cluster-search\
**Created:** [February 12, 2022, 12:41am UTC](https://discuss.elastic.co/t/which-cert-do-i-use-and-where-do-i-stick-it/297031 "2022-02-12T00:41:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kossde](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@kossde](https://discuss.elastic.co/u/kossde)\
**Post date:** [February 12, 2022, 12:41am UTC](https://discuss.elastic.co/t/which-cert-do-i-use-and-where-do-i-stick-it/297031/1 "2022-02-12T00:41:06Z")

</div>

Remote cluster has a self-signed certificate. Is that the right cert to add to the local cluster and, if so, where do I add that on the local cluster so that the two clusters can trust one another? I'm thinking inside the Elasticsearch.yml but clarification is appreciated.

---

<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 12, 2022, 12:41am UTC](https://discuss.elastic.co/t/which-cert-do-i-use-and-where-do-i-stick-it/297031/2 "2022-03-12T00:41:07Z")

</div>

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