Hi,
Is it possible to use certificates to connect logstash to elasticsearch, the same way it is possible with the beat input plugin?
Best,
Francis
Hi,
Is it possible to use certificates to connect logstash to elasticsearch, the same way it is possible with the beat input plugin?
Best,
Francis
@francisaugusto using the https scheme for your hosts or specifying ssl in your output will secure the communication between Elasticsearch and Logstash.
For PKI authentication, see this section of the docs.
Thanks a lot @Coinology! So the certificates cannot be referenced directly, right? You cannot simply point at them like when using ssl options for the input plugin, right?
I never used a keystore or trust store, so I dunno where to start.
I want to secure the communication, but also to authenticate. Maybe using user/password will do it.
you can. if your ES uses TLS and you are using custom CA cert, you can reference the CA file in elasticsearch output plugin using cacert directives. it’s in the same link as @Coinology provided
Great! Thanks @ptamba! Will check that out!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.