I'd like to know if someone can present a working example of their Beats config for Beats to Logstash with SSL, but using the embedding the certificate in the beats config as described in Configure SSL | Winlogbeat Reference [8.6] | Elastic.
I have many questions, like:
Does it actually work?
Does it allow the Beat to trust logstash's cert even if logstash doesn't trust the CA?
Does it allow the Beat to trust a cert even if the Beat only knows logstash as its IP and not its FQDN?
What is the indentation needed for it? In the example on that URL, the cert info seems to be indented about 4 spaces each line so does that mean that is a requirement?