# Certificate logstash

**URL:** <https://discuss.elastic.co/t/certificate-logstash/358225>\
**Category:** Logstash\
**Tags:** docker\
**Created:** [April 25, 2024, 2:25pm UTC](https://discuss.elastic.co/t/certificate-logstash/358225 "2024-04-25T14:25:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samsu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samsu/32/133777_2.png) [@samsu](https://discuss.elastic.co/u/samsu)\
**Post date:** [April 25, 2024, 2:25pm UTC](https://discuss.elastic.co/t/certificate-logstash/358225/1 "2024-04-25T14:25:53Z")

</div>

```auto
xpack.management.elasticsearch.ssl.certificate_authority: "/usr/share/logstash/conf.d/ssl/elasticsearch-ca.pem"
xpack.management.elasticsearch.ssl.verification_mode: "certificate"

```

where can i find this certificate please ??

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [April 25, 2024, 4:25pm UTC](https://discuss.elastic.co/t/certificate-logstash/358225/2 "2024-04-25T16:25:15Z")

</div>

> [@samsu](#):
>
> where can i find this certificate please ??

elasticsearch speaks http, so getting this certificate is like [getting a CA certificate from a web site](https://development.libelium.com/programming-cloud-service-guide/how-to-get-the-ca-certificate-for-https-connections). It needs to be a .pem file, which is what you should end up with if you do what it says in that link. If for some reason you have a binary certificate then convert it.
