# Generate http certificate non-interactive

**URL:** <https://discuss.elastic.co/t/generate-http-certificate-non-interactive/263685>\
**Category:** Kibana\
**Tags:** elastic-stack-security\
**Created:** [February 9, 2021, 7:15am UTC](https://discuss.elastic.co/t/generate-http-certificate-non-interactive/263685 "2021-02-09T07:15:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mysil](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@mysil](https://discuss.elastic.co/u/mysil)\
**Post date:** [February 9, 2021, 7:15am UTC](https://discuss.elastic.co/t/generate-http-certificate-non-interactive/263685/1 "2021-02-09T07:15:26Z")

</div>

Hi,  
I need to script generation of a certificate using 'elasticsearch-certutil http'. Is that even possible? I managed to do this with 'elasticsearch-certutil ca'.  
I need this to enable Alerts in my Kibana. Running on k8s

Any help is much appriciated

---

<div class="post-metadata">

**Author:** ![ikakavas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ikakavas/32/34430_2.png) [@ikakavas](https://discuss.elastic.co/u/ikakavas)\
**Post date:** [February 9, 2021, 11:09am UTC](https://discuss.elastic.co/t/generate-http-certificate-non-interactive/263685/2 "2021-02-09T11:09:20Z")

</div>

`elasticsearch-certutil http` is meant to be an interactive tool that guides you through making the appropriate selections and offers context. As such is it not meant to be scripted.

If you know what you want to do and the information that your certificates need, you can use `elasticsearch-certutil cert` to generate your certificates for the HTTP layer of elasticsearch, which can be more easily scripted

---

<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 9, 2021, 11:10am UTC](https://discuss.elastic.co/t/generate-http-certificate-non-interactive/263685/3 "2021-03-09T11:10:02Z")

</div>

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