# Creating ssl cert for elastics search endpoint using GKE ingress and nginx load balancer

**URL:** https://discuss.elastic.co/t/creating-ssl-cert-for-elastics-search-endpoint-using-gke-ingress-and-nginx-load-balancer/171173
**Category:** Elasticsearch
**Created:** [March 6, 2019, 6:12pm UTC](https://discuss.elastic.co/t/creating-ssl-cert-for-elastics-search-endpoint-using-gke-ingress-and-nginx-load-balancer/171173 "2019-03-06T18:12:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Gruido](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@Gruido](https://discuss.elastic.co/u/Gruido)
#### Post date: [March 6, 2019, 6:12pm UTC](https://discuss.elastic.co/t/creating-ssl-cert-for-elastics-search-endpoint-using-gke-ingress-and-nginx-load-balancer/171173/1 "2019-03-06T18:12:21Z")

</div>

Hi, I have elastic search deployed on GKE and am looking to expose the api with let's encrypt so that I could encrypt that endpoint for sending data to. I have ingress setup but the problem is that it's not connecting to the service of elastic search or port 9200.  
Could someone help out with some resource or know hows  
Thank you very much

---

<div class="post-metadata">

### Author: ![Gruido](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@Gruido](https://discuss.elastic.co/u/Gruido)
#### Post date: [March 7, 2019, 10:46pm UTC](https://discuss.elastic.co/t/creating-ssl-cert-for-elastics-search-endpoint-using-gke-ingress-and-nginx-load-balancer/171173/2 "2019-03-07T22:46:08Z")

</div>

So I was able to expose elasticsearch outside of the cluster and configure let's encrypt cert TLS for the endpoint.

---

<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: [April 4, 2019, 10:46pm UTC](https://discuss.elastic.co/t/creating-ssl-cert-for-elastics-search-endpoint-using-gke-ingress-and-nginx-load-balancer/171173/3 "2019-04-04T22:46:10Z")

</div>

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