Elasticsearch-certutil in elastic cloud

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

Thanks,
Rajeev

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

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

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

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

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.

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

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

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

I need to connect my ElasticSearch node to CouchBase Cluster using couchbase-elastic connector.

For secure connection I need to follow this.
Thanks,
Rajeev

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

Thank you.. Will try it out!