# Not able to connect to elastic cluster using kinaba

**URL:** <https://discuss.elastic.co/t/not-able-to-connect-to-elastic-cluster-using-kinaba/188249>\
**Category:** Kibana\
**Created:** [July 1, 2019, 7:25am UTC](https://discuss.elastic.co/t/not-able-to-connect-to-elastic-cluster-using-kinaba/188249 "2019-07-01T07:25:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![svelastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/svelastic/32/49129_2.png) [@svelastic](https://discuss.elastic.co/u/svelastic)\
**Post date:** [July 1, 2019, 7:25am UTC](https://discuss.elastic.co/t/not-able-to-connect-to-elastic-cluster-using-kinaba/188249/1 "2019-07-01T07:25:08Z")

</div>

Hi Team,  
We have elastic cluster and i have installed kibana to monitor my cluster and when i start it it is always throwing the below error. Pl guide me how to setup and connect to the cluster  
we use id\_rsa key to connect to cluster from terminal in general.

From terminal we do this to connect to the client

ssh -i /Users/swapna/.ssh/id\_rsa swapna@es-client-1

log [07:07:54.451] [error][admin][elasticsearch] Request error, retrying  
GET [https://elastic-test-01:9200/\_nodes?filter\_path=nodes](https://elastic-test-01:9200/_nodes?filter_path=nodes)._.version%2Cnodes._.http.publish\_address%2Cnodes.\*.ip =\> unable to verify the first certificate  
log [07:07:54.865] [warning][admin][elasticsearch] Unable to revive connection: [https://elastic-test-01:9200/](https://elastic-test-01:9200/)  
log [07:07:54.868] [warning][admin][elasticsearch] No living connections  
log [07:07:54.869] [error][status][plugin:xpack\_main@7.2.0] Status changed from yellow to red - No Living connections

Thanks

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [July 1, 2019, 1:25pm UTC](https://discuss.elastic.co/t/not-able-to-connect-to-elastic-cluster-using-kinaba/188249/2 "2019-07-01T13:25:48Z")

</div>

Hey @svelastic, welcome to the discussion boards!

You mentioned that you connect to elasticsearch using certificates. Have you configured `elasticsearch.ssl.certificate` and `elasticsearch.ssl.key` in your `kibana.yml` yet (see [settings page](https://www.elastic.co/guide/en/kibana/current/settings.html))?

This will allow Kibana to connect to Elasticsearch when Elasticsearch requires PKI authentication. Note that [PKI authentication isn't supported for kibana end-users yet](https://www.elastic.co/guide/en/elastic-stack-overview/current/pki-realm.html) (but support is planned). You'll need an additional realm enabled (such as the native realm) for end-users to authenticate to Kibana.

---

<div class="post-metadata">

**Author:** ![svelastic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/svelastic/32/49129_2.png) [@svelastic](https://discuss.elastic.co/u/svelastic)\
**Post date:** [July 5, 2019, 5:12am UTC](https://discuss.elastic.co/t/not-able-to-connect-to-elastic-cluster-using-kinaba/188249/3 "2019-07-05T05:12:10Z")

</div>

Hi @Larry_Gregory  
Thanks for the inputs for the error.But im still not sure which certificates in need to add for `elasticsearch.ssl.certificate` and `elasticsearch.ssl.key`?  
it is trustore? or my id\_rsa key?  
generally i connect as below to the server  
ssh -i /users/sw/id\_rsa swa@es-data-client

so should i provide /users/sw/id\_rsa for `elasticsearch.ssl.certificate` and `elasticsearch.ssl.key`?

---

<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:** [August 2, 2019, 5:12am UTC](https://discuss.elastic.co/t/not-able-to-connect-to-elastic-cluster-using-kinaba/188249/4 "2019-08-02T05:12:14Z")

</div>

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