Why the filebeat and logstash use the same certificate here, Originally I thought client and server have different certificate: client.crt and server.crt
Why we copy server private key file to filebeat. I always think we should keep private key on the server side only.
Does it mean in this case we only verify logstash not filebeat
Could someone knowing TLS shed some light on it? Or explain how TLS work here.
do not copy the private file. It's called private for a reason
When you're using self-signed certificates (no CA), the client needs to have certificate in its CA list. Using certificate-authorities, the client only requires the CAs certificate to verify the server certificate (this is how it should be done when managing multiple servers). For testing and simple setups self-signed certificates are a little more convenient
I didn't see any client certificate configured for client-authentication. This means, filebeat will check logstash being ok, but not the other way around.
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.