# Generating certificates for search guard

**URL:** <https://forum.search-guard.com/t/generating-certificates-for-search-guard/2342>\
**Category:** Search Guard\
**Created:** [August 8, 2022, 7:49am UTC](https://forum.search-guard.com/t/generating-certificates-for-search-guard/2342 "2022-08-08T07:49:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jis](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jis](https://forum.search-guard.com/u/jis)\
**Post date:** [August 8, 2022, 7:49am UTC](https://forum.search-guard.com/t/generating-certificates-for-search-guard/2342/1 "2022-08-08T07:49:46Z")

</div>

Hi,  
We are using 3 node cluster of elk 7.17.3v 2 logstash and 1 kibana.  
searchguard version- 53.4.0

Inorder to generate certificate i have configured 3 elasticsearch nodes. And 1 kibana node under clients . I have attached the configuration screenshot .

 ![image](https://us1.discourse-cdn.com/flex019/uploads/search_guard/original/2X/1/1a41884520354038527771e601d990fe99e68b53.png)  
Is the configuration is correct? where should we include kibana node under clients or nodes ? someone please help me with this issue.

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/pablo/32/1443_2.png) [@pablo](https://forum.search-guard.com/u/pablo)\
**Post date:** [August 8, 2022, 5:58pm UTC](https://forum.search-guard.com/t/generating-certificates-for-search-guard/2342/2 "2022-08-08T17:58:22Z")

</div>

@jis To secure a connection between the Kibana and Elasticsearch you will need the Elasticsearch CA certificate. However, you can bypass certificate verification by setting `elasticsearch.ssl.verificationMode` to none.

You’ll need a server certificate and key to secure a connection between Kibana and the browser.  
In that case, you should add the Kibana certificate to your nodes section.

> **[Set up basic security for the Elastic Stack plus secured HTTPS traffic |...](https://www.elastic.co/guide/en/elasticsearch/reference/8.3/security-basic-setup-https.html#encrypt-kibana-browser)**

---

<div class="post-metadata">

**Author:** ![jis](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jis](https://forum.search-guard.com/u/jis)\
**Post date:** [August 10, 2022, 10:12am UTC](https://forum.search-guard.com/t/generating-certificates-for-search-guard/2342/3 "2022-08-10T10:12:54Z")

</div>

if we add the Kibana certificate to your nodes section. Then what should we add in clients section

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/pablo/32/1443_2.png) [@pablo](https://forum.search-guard.com/u/pablo)\
**Post date:** [August 10, 2022, 10:47am UTC](https://forum.search-guard.com/t/generating-certificates-for-search-guard/2342/4 "2022-08-10T10:47:25Z")

</div>

@jis In the clients section, you should place any certificates that will be used to connection with the Elasticsearch cluster including admin certificates.

---

<div class="post-metadata">

**Author:** ![jis](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@jis](https://forum.search-guard.com/u/jis)\
**Post date:** [August 16, 2022, 5:22am UTC](https://forum.search-guard.com/t/generating-certificates-for-search-guard/2342/5 "2022-08-16T05:22:39Z")

</div>

I am trying to generate the search guard TLS certificate to have the search guard connected to the elk cluster and kibana.  
Can you please let me know where should the kibana ip server should be put in the yml file of the Tls tool to generate the certificate.

---

<div class="post-metadata">

**Author:** ![pablo](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/pablo/32/1443_2.png) [@pablo](https://forum.search-guard.com/u/pablo)\
**Post date:** [August 17, 2022, 12:15pm UTC](https://forum.search-guard.com/t/generating-certificates-for-search-guard/2342/6 "2022-08-17T12:15:28Z")

</div>

@jis Just follow your other nodes’ configuration. They already have IP configured.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/system/32/1870_2.png) [@system](https://forum.search-guard.com/u/system)\
**Post date:** [September 7, 2022, 12:16pm UTC](https://forum.search-guard.com/t/generating-certificates-for-search-guard/2342/7 "2022-09-07T12:16:09Z")

</div>

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