# Generating node certificate

**URL:** <https://discuss.elastic.co/t/generating-node-certificate/290055>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [November 24, 2021, 11:40am UTC](https://discuss.elastic.co/t/generating-node-certificate/290055 "2021-11-24T11:40:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aniket\_Pant](https://avatars.discourse-cdn.com/v4/letter/a/77aa72/32.png) [@Aniket\_Pant](https://discuss.elastic.co/u/Aniket_Pant)\
**Post date:** [November 24, 2021, 11:40am UTC](https://discuss.elastic.co/t/generating-node-certificate/290055/1 "2021-11-24T11:40:37Z")

</div>

Using elk 7.15 i just have small doubt that in earlier 7.10 elasticsearch documentation  
[https://www.elastic.co/guide/en/elasticsearch/reference/7.10/configuring-tls.html#tls-transport](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/configuring-tls.html#tls-transport)

> Encrypting communications between nodes in a cluster  
> If the certificate is in PEM format, add the following information to the `elasticsearch.yml` file on each node:

we can generate certificate using `--pem` options but now in latest version there is no line mentioning about the

> If the certificate is in PEM format, add the following information to the `elasticsearch.yml` file on each node:

Is this depreciated ?

---

<div class="post-metadata">

**Author:** ![DineshNaik](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dineshnaik/32/89308_2.png) [@DineshNaik](https://discuss.elastic.co/u/DineshNaik)\
**Post date:** [November 24, 2021, 4:51pm UTC](https://discuss.elastic.co/t/generating-node-certificate/290055/2 "2021-11-24T16:51:34Z")

</div>

I am not sure of this, but if it was to be deprecated then at least a note would have been there.

Probably you can try and see if pem format works with 7.15 to confirm the same?

---

<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:** [November 24, 2021, 8:17pm UTC](https://discuss.elastic.co/t/generating-node-certificate/290055/3 "2021-11-24T20:17:46Z")

</div>

[The new section of the docs](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-basic-setup.html) is more of a guide / how to ... Not every option is shown but building on the methods that are most direct

.pem is still fully supported.

> **[Security settings in Elasticsearch | Elasticsearch Guide \[7.15\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/7.15/security-settings.html#_pem_encoded_files_3)**

---

<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:** [December 22, 2021, 8:18pm UTC](https://discuss.elastic.co/t/generating-node-certificate/290055/4 "2021-12-22T20:18:04Z")

</div>

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