# Silent setup

**URL:** <https://discuss.elastic.co/t/silent-setup/328972>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [March 30, 2023, 7:07pm UTC](https://discuss.elastic.co/t/silent-setup/328972 "2023-03-30T19:07:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![geb](https://avatars.discourse-cdn.com/v4/letter/g/5fc32e/32.png) [@geb](https://discuss.elastic.co/u/geb)\
**Post date:** [March 30, 2023, 7:07pm UTC](https://discuss.elastic.co/t/silent-setup/328972/1 "2023-03-30T19:07:14Z")

</div>

Is it possible to issue the command

> /usr/share/elasticsearch/bin/elasticsearch-certutil http

in unattended mode? I automated the whole certificate generation stuff but couldnt solve this task.

---

<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:** [March 30, 2023, 10:43pm UTC](https://discuss.elastic.co/t/silent-setup/328972/2 "2023-03-30T22:43:44Z")

</div>

Edit... Hmm Looking... It does not appear so natively.

---

<div class="post-metadata">

**Author:** ![geb](https://avatars.discourse-cdn.com/v4/letter/g/5fc32e/32.png) [@geb](https://discuss.elastic.co/u/geb)\
**Post date:** [April 4, 2023, 5:22pm UTC](https://discuss.elastic.co/t/silent-setup/328972/3 "2023-04-04T17:22:02Z")

</div>

I thought so too ^^

---

<div class="post-metadata">

**Author:** ![TimV](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timv/32/13162_2.png) [@TimV](https://discuss.elastic.co/u/TimV)\
**Post date:** [April 6, 2023, 4:48am UTC](https://discuss.elastic.co/t/silent-setup/328972/4 "2023-04-06T04:48:57Z")

</div>

`elasticsearch-certutil http` is specifically designed to be an interactive guide.

The certificates it generates at the end are exactly the same as the certificate you can generate with `elasticsearch-certutil cert` - the `http` mode just walks you through the set of things you need to consider.

If you already know the answers to all of those questions, then you can just use `elasticsearch-certutil cert` to create the certs you need.

---

<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:** [May 4, 2023, 4:49am UTC](https://discuss.elastic.co/t/silent-setup/328972/5 "2023-05-04T04:49:07Z")

</div>

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