# Certutil cert generation

**URL:** <https://discuss.elastic.co/t/certutil-cert-generation/152030>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [October 11, 2018, 10:36am UTC](https://discuss.elastic.co/t/certutil-cert-generation/152030 "2018-10-11T10:36:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raj\_Kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raj_kumar/32/25420_2.png) [@Raj\_Kumar](https://discuss.elastic.co/u/Raj_Kumar)\
**Post date:** [October 11, 2018, 10:36am UTC](https://discuss.elastic.co/t/certutil-cert-generation/152030/1 "2018-10-11T10:36:27Z")

</div>

Hi There,

I have three node cluster solution , am truing to create csr with instances.yml ( these have all my node , dns name, ip address etc ...) My question is if we creating csr with cerutil tool, will it create three different csr files for three nodes or one single file of csr for all the three nodes.

Thanks,  
Raj

---

<div class="post-metadata">

**Author:** ![Albert\_Zaharovits](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/albert_zaharovits/32/24390_2.png) [@Albert\_Zaharovits](https://discuss.elastic.co/u/Albert_Zaharovits)\
**Post date:** [October 14, 2018, 7:32pm UTC](https://discuss.elastic.co/t/certutil-cert-generation/152030/2 "2018-10-14T19:32:18Z")

</div>

Hi @Raj_Kumar,

It will create a csr for each instance in the yml file.  
Citing the [certutil docs](https://www.elastic.co/guide/en/elasticsearch/reference/current/certutil.html):

> To generate CSRs for multiple instances, specify the `--multiple` parameter, which prompts you for details about each instance. Alternatively, you can use the `--in` parameter to specify a YAML file that contains details about the instances.

---

<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:** [November 11, 2018, 7:39pm UTC](https://discuss.elastic.co/t/certutil-cert-generation/152030/3 "2018-11-11T19:39:11Z")

</div>

Closed on November 11, 2018, 7:39pm UTC

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