# Update security certificate with a different CA

**URL:** <https://discuss.elastic.co/t/update-security-certificate-with-a-different-ca/309288>\
**Category:** Elasticsearch\
**Created:** [July 11, 2022, 5:26am UTC](https://discuss.elastic.co/t/update-security-certificate-with-a-different-ca/309288 "2022-07-11T05:26:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajvel](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@rajvel](https://discuss.elastic.co/u/rajvel)\
**Post date:** [July 11, 2022, 5:26am UTC](https://discuss.elastic.co/t/update-security-certificate-with-a-different-ca/309288/1 "2022-07-11T05:26:29Z")

</div>

Hello Team,

As per the document , first we need to take a backup of elaticsearch.yml, the elasticsearch.yml file in the current 8 version looks different.

> **[Different CA | Elastic Docs](https://www.elastic.co/docs/deploy-manage/security/different-ca)**
>
> If you have to trust a new CA from your organization, or you need to generate a new CA yourself, instruct your nodes to trust the new CA and then use...

# Enable security features

xpack.security.enabled: true

xpack.security.enrollment.enabled: true

# Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents

xpack.security.http.ssl:  
enabled: true  
keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes

xpack.security.transport.ssl:  
enabled: true  
verification\_mode: certificate  
keystore.path: certs/transport.p12  
truststore.path: certs/transport.p12

Please advise is the document is correct we have single file for transport layer in keystore and trust store, but in the document they mentioned two different files.

---

<div class="post-metadata">

**Author:** ![rajvel](https://avatars.discourse-cdn.com/v4/letter/r/e9c0ed/32.png) [@rajvel](https://discuss.elastic.co/u/rajvel)\
**Post date:** [July 12, 2022, 9:27am UTC](https://discuss.elastic.co/t/update-security-certificate-with-a-different-ca/309288/2 "2022-07-12T09:27:47Z")

</div>

Hello Team,

Anyone please help me on this.

---

<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:** [August 9, 2022, 9:28am UTC](https://discuss.elastic.co/t/update-security-certificate-with-a-different-ca/309288/3 "2022-08-09T09:28:11Z")

</div>

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