Hi all
I have a product with inside ELK with SG compliance edition.
I’d like to create certificates to set the filebeat output and logstash input with secure comunication.
Do you give me an how to? Could I setup the certificate. I have the root-ca used for internal exchange from elasticsearch nodes (transport and rest).
I’d like to do this configuration
input {
beats {
port => 5044
ssl => true
ssl_certificate_authorities => ["/etc/ca.crt"]
ssl_certificate => "/etc/server.crt"
ssl_key => "/etc/server.key"
ssl_verify_mode => "force_peer"
}
}
and I’d like to verify my configuration with this
curl -v --cacert ca.crt https://logs.mycompany.com:5044
If the test is successful, you’ll receive an empty response error:
- Rebuilt URL to: https://logs.mycompany.com:5044/
- Trying 192.168.99.100…
- Connected to logs.mycompany.com (192.168.99.100) port 5044 (#0)
- TLS 1.2 connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA
- Server certificate: logs.mycompany.com
- Server certificate: mycompany.com
GET / HTTP/1.1
Host: logs.mycompany.com:5044
User-Agent: curl/7.43.0
Accept: /
- Empty reply from server
- Connection #0 to host logs.mycompany.com left intact
curl: (52) Empty reply from server