# Logstash xpack monitoring with certificate instead of truststore

**URL:** <https://discuss.elastic.co/t/logstash-xpack-monitoring-with-certificate-instead-of-truststore/238885>\
**Category:** Logstash\
**Created:** [June 26, 2020, 4:19pm UTC](https://discuss.elastic.co/t/logstash-xpack-monitoring-with-certificate-instead-of-truststore/238885 "2020-06-26T16:19:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mtudisco](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@mtudisco](https://discuss.elastic.co/u/mtudisco)\
**Post date:** [June 26, 2020, 4:19pm UTC](https://discuss.elastic.co/t/logstash-xpack-monitoring-with-certificate-instead-of-truststore/238885/1 "2020-06-26T16:19:43Z")

</div>

Hi,  
I have a cluster of elasticsearch and i have configured ssl/tls and set

> xpack.security.http.ssl.client\_authentication: required

The i have logstash with xpack monitoring enabled, and i have to specify a certificate and key for the elasticsearch output, but only see parameters for trustsore:

> #xpack.monitoring.elasticsearch.ssl.certificate\_authority: ["/path/to/ca.crt"]  
> #xpack.monitoring.elasticsearch.ssl.truststore.path: path/to/file  
> #xpack.monitoring.elasticsearch.ssl.truststore.password: password  
> #xpack.monitoring.elasticsearch.ssl.keystore.path: /path/to/file  
> #xpack.monitoring.elasticsearch.ssl.keystore.password: password  
> #xpack.monitoring.elasticsearch.ssl.verification\_mode: certificate

Are there some way to use certificates without truststores? as you use them in some other places where you specify the .crt file and the .key file? (i'm new to certificates and not used to truststores)

thanks

---

<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:** [July 24, 2020, 4:19pm UTC](https://discuss.elastic.co/t/logstash-xpack-monitoring-with-certificate-instead-of-truststore/238885/2 "2020-07-24T16:19:49Z")

</div>

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