# Elasticsearch-certutil in elastic cloud

**URL:** https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566
**Category:** Elasticsearch
**Created:** [April 24, 2020, 3:44am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566 "2020-04-24T03:44:29Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Rajeev\_Bhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajeev_bhat/32/66529_2.png) [@Rajeev\_Bhat](https://discuss.elastic.co/u/Rajeev_Bhat)
#### Post date: [April 24, 2020, 3:44am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566/1 "2020-04-24T03:44:29Z")

</div>

Hello,  
How do I use the following command in elastic cloud?  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/certutil.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/certutil.html)

Thanks,  
Rajeev

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 24, 2020, 3:58am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566/2 "2020-04-24T03:58:39Z")

</div>

Our Elasticsearch Service creates the certificates for you automatically, so you don't need to do this 🙂

---

<div class="post-metadata">

### Author: ![Rajeev\_Bhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajeev_bhat/32/66529_2.png) [@Rajeev\_Bhat](https://discuss.elastic.co/u/Rajeev_Bhat)
#### Post date: [April 24, 2020, 4:14am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566/3 "2020-04-24T04:14:32Z")

</div>

Yes, but I wanted the existing X.509 certificate. How do I get this?

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 24, 2020, 4:15am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566/4 "2020-04-24T04:15:24Z")

</div>

Do you mean you want to use your own certificate? If that's the case we don't support that the moment sorry.

---

<div class="post-metadata">

### Author: ![Rajeev\_Bhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajeev_bhat/32/66529_2.png) [@Rajeev\_Bhat](https://discuss.elastic.co/u/Rajeev_Bhat)
#### Post date: [April 24, 2020, 4:17am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566/5 "2020-04-24T04:17:44Z")

</div>

I wanted to use this in ES cloud. Is it not possible?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/2/92395811913becfabb4bdfd75e1fab3d82bbc119.png)

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 24, 2020, 4:20am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566/6 "2020-04-24T04:20:44Z")

</div>

No, as I mentioned we create them for you.

If you want to download the certificates that we created for the cluster, then you should be able to do that with something like curl.

---

<div class="post-metadata">

### Author: ![Rajeev\_Bhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajeev_bhat/32/66529_2.png) [@Rajeev\_Bhat](https://discuss.elastic.co/u/Rajeev_Bhat)
#### Post date: [April 24, 2020, 4:28am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566/7 "2020-04-24T04:28:12Z")

</div>

Okay..I got this in documentation about getting existing certificates.  
[https://www.elastic.co/guide/en/cloud-enterprise/current/ece-manage-certificates.html#ece-tls-generate](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-manage-certificates.html#ece-tls-generate)

But It doesn't explain how to download X.509 , unlike they explained just above about ECE certificates

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 24, 2020, 4:33am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566/8 "2020-04-24T04:33:14Z")

</div>

Can you clarify why you're looking to do this?

---

<div class="post-metadata">

### Author: ![Rajeev\_Bhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajeev_bhat/32/66529_2.png) [@Rajeev\_Bhat](https://discuss.elastic.co/u/Rajeev_Bhat)
#### Post date: [April 24, 2020, 4:36am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566/9 "2020-04-24T04:36:26Z")

</div>

I need to connect my ElasticSearch node to CouchBase Cluster using [couchbase-elastic connector](https://docs.couchbase.com/elasticsearch-connector/current/index.html).

For secure connection I need to follow [this](https://docs.couchbase.com/elasticsearch-connector/current/secure-connections.html).  
Thanks,  
Rajeev

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [April 24, 2020, 5:03am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566/10 "2020-04-24T05:03:04Z")

</div>

Ok, well this might do what you want - [https://gist.github.com/slavniyteo/ad58d1ca180229921fa792a88b494916](https://gist.github.com/slavniyteo/ad58d1ca180229921fa792a88b494916)

---

<div class="post-metadata">

### Author: ![Rajeev\_Bhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rajeev_bhat/32/66529_2.png) [@Rajeev\_Bhat](https://discuss.elastic.co/u/Rajeev_Bhat)
#### Post date: [April 24, 2020, 5:04am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566/11 "2020-04-24T05:04:22Z")

</div>

Thank you.. Will try it out!

---

<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: [May 22, 2020, 5:04am UTC](https://discuss.elastic.co/t/elasticsearch-certutil-in-elastic-cloud/229566/12 "2020-05-22T05:04:30Z")

</div>

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