# X-Pack Security Certgen Tool - How is silent mode used?

**URL:** <https://discuss.elastic.co/t/x-pack-security-certgen-tool-how-is-silent-mode-used/66848>\
**Category:** Elasticsearch\
**Created:** [November 22, 2016, 11:44am UTC](https://discuss.elastic.co/t/x-pack-security-certgen-tool-how-is-silent-mode-used/66848 "2016-11-22T11:44:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Terry\_Quigley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/terry_quigley/32/80037_2.png) [@Terry\_Quigley](https://discuss.elastic.co/u/Terry_Quigley)\
**Post date:** [November 22, 2016, 11:44am UTC](https://discuss.elastic.co/t/x-pack-security-certgen-tool-how-is-silent-mode-used/66848/1 "2016-11-22T11:44:30Z")

</div>

The guide [https://www.elastic.co/guide/en/x-pack/current/ssl-tls.html](https://www.elastic.co/guide/en/x-pack/current/ssl-tls.html) mentions using Certgen in silent mode by passing in a file. The help output states that a yaml file should be passed with the --in parameter. Is there any documentation on the format of this yaml file ? What do I need to provide ?

---

<div class="post-metadata">

**Author:** ![Terry\_Quigley](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/terry_quigley/32/80037_2.png) [@Terry\_Quigley](https://discuss.elastic.co/u/Terry_Quigley)\
**Post date:** [November 25, 2016, 10:11am UTC](https://discuss.elastic.co/t/x-pack-security-certgen-tool-how-is-silent-mode-used/66848/2 "2016-11-25T10:11:49Z")

</div>

I figured out what is required. For anyone else trying this the format is:

## instances:

```
name: <name>
filename: <filename>
ip: <ips>
dns: <dns>
```

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [December 2, 2016, 12:02am UTC](https://discuss.elastic.co/t/x-pack-security-certgen-tool-how-is-silent-mode-used/66848/3 "2016-12-02T00:02:49Z")

</div>

Thanks for posting your solution, Terry!

CJ

---

<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 30, 2016, 12:03am UTC](https://discuss.elastic.co/t/x-pack-security-certgen-tool-how-is-silent-mode-used/66848/4 "2016-12-30T00:03:15Z")

</div>

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