# ERROR: Unknown command \[http\] when executing bin/elasticsearch-certutil http

**URL:** <https://discuss.elastic.co/t/error-unknown-command-http-when-executing-bin-elasticsearch-certutil-http/234993>\
**Category:** Elasticsearch\
**Created:** [May 29, 2020, 10:20pm UTC](https://discuss.elastic.co/t/error-unknown-command-http-when-executing-bin-elasticsearch-certutil-http/234993 "2020-05-29T22:20:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shan\_Chathusanda](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shan_chathusanda/32/55382_2.png) [@Shan\_Chathusanda](https://discuss.elastic.co/u/Shan_Chathusanda)\
**Post date:** [May 29, 2020, 10:20pm UTC](https://discuss.elastic.co/t/error-unknown-command-http-when-executing-bin-elasticsearch-certutil-http/234993/1 "2020-05-29T22:20:36Z")

</div>

I am trying to encrypt HTTP client communications as the doc in  
[https://www.elastic.co/guide/en/elasticsearch/reference/7.x/configuring-tls.html#tls-http](https://www.elastic.co/guide/en/elasticsearch/reference/7.x/configuring-tls.html#tls-http). But when I execute this command it prompts an error as follows.  
`ERROR: Unknown command [http]`  
Is there something I missed here?

---

<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:** [June 26, 2020, 10:20pm UTC](https://discuss.elastic.co/t/error-unknown-command-http-when-executing-bin-elasticsearch-certutil-http/234993/2 "2020-06-26T22:20:37Z")

</div>

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