# Renew auto generated http certificates http.p12

**URL:** <https://discuss.elastic.co/t/renew-auto-generated-http-certificates-http-p12/378449>\
**Category:** Elastic Search\
**Created:** [May 23, 2025, 2:39am UTC](https://discuss.elastic.co/t/renew-auto-generated-http-certificates-http-p12/378449 "2025-05-23T02:39:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frances\_Chu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frances_chu/32/127298_2.png) [@Frances\_Chu](https://discuss.elastic.co/u/Frances_Chu)\
**Post date:** [May 23, 2025, 2:39am UTC](https://discuss.elastic.co/t/renew-auto-generated-http-certificates-http-p12/378449/1 "2025-05-23T02:39:44Z")

</div>

Is there any way to renew the http.p12 certificate. I find there is a share [Renew auto generated http certificates](https://discuss.elastic.co/t/renew-auto-generated-http-certificates/362929)  
However, I only got http\_ca.crt. No http\_ca.p12. I am running elasticsearch version 8.12.0.  
Any recommendation

---

<div class="post-metadata">

**Author:** ![Shaoranlaos](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@Shaoranlaos](https://discuss.elastic.co/u/Shaoranlaos)\
**Post date:** [May 23, 2025, 4:59am UTC](https://discuss.elastic.co/t/renew-auto-generated-http-certificates-http-p12/378449/2 "2025-05-23T04:59:34Z")

</div>

Did you follow the standard instructions from the documentation here [Different CA | Elastic Docs](https://www.elastic.co/docs/deploy-manage/security/different-ca#node-certs-different-http)?  
That should directly output an p12 file with everything in it you need.

Alternativly you could use the java keytool, that comes with every java, to build that yourself (the following is only an example and may not work exactly):

```auto
keytool -storepass ' ***' -import -alias es-ca -file*** /http_ca.crt -keystore ***/http_ca.p12 -deststoretype PKCS12

```

---

<div class="post-metadata">

**Author:** ![Frances\_Chu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frances_chu/32/127298_2.png) [@Frances\_Chu](https://discuss.elastic.co/u/Frances_Chu)\
**Post date:** [May 26, 2025, 2:54am UTC](https://discuss.elastic.co/t/renew-auto-generated-http-certificates-http-p12/378449/3 "2025-05-26T02:54:28Z")

</div>

It works Big Thx.
