Generate http certificate non-interactive

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

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