# Certificate issue

**URL:** <https://discuss.elastic.co/t/certificate-issue/325813>\
**Category:** Elasticsearch\
**Created:** [February 17, 2023, 6:37am UTC](https://discuss.elastic.co/t/certificate-issue/325813 "2023-02-17T06:37:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akhilkv43](https://avatars.discourse-cdn.com/v4/letter/a/ee7513/32.png) [@akhilkv43](https://discuss.elastic.co/u/akhilkv43)\
**Post date:** [February 17, 2023, 6:37am UTC](https://discuss.elastic.co/t/certificate-issue/325813/1 "2023-02-17T06:37:07Z")

</div>

How can i generate a pem certificate in Elasticsearch  
I am using 8.5 version

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [February 17, 2023, 5:02pm UTC](https://discuss.elastic.co/t/certificate-issue/325813/2 "2023-02-17T17:02:23Z")

</div>

Hi @akhilkv43 Welcome to the Community.

Perhaps take a look at the documentation

> **[Manually configure security | Elasticsearch Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/manually-configure-security.html)**

With this command line tool there is an option to create pem

> `--pem`  
> Generates certificates and keys in PEM format instead of PKCS#12. This parameter cannot be used with the `csr` or `http` parameters.

> **[elasticsearch-certutil | Elasticsearch Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/certutil.html)**

---

<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 17, 2023, 5:02pm UTC](https://discuss.elastic.co/t/certificate-issue/325813/3 "2023-03-17T17:02:58Z")

</div>

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