Hi,
I am new to searchguard.
My intention is to establish a secure communication in the ELK communication.
Following are the changes that i have performed initially,
Elasticsearch.yml
searchguard.authcz.admin_dn:
- CN=sgadmin
searchguard.ssl.transport.keystore_filepath: D:\Softwares\ELK\elasticsearch-5.4.0\elasticsearch-5.4.0\config\CN=localhost-keystore.jks
searchguard.ssl.transport.keystore_password: 221749a2add117cf889f
searchguard.ssl.transport.truststore_filepath: D:\Softwares\ELK\elasticsearch-5.4.0\elasticsearch-5.4.0\config\truststore.jks
searchguard.ssl.transport.truststore_password: 6d6cf1cc017dc874960b
Kibana.yml
elasticsearch.url: “http://localhost:9200”
elasticsearch.username: “admin”
elasticsearch.password: “admin”
Logstash.config
output {
elasticsearch {
hosts => ["localhost:9200"]
user => admin
password => admin
}
stdout { codec => rubydebug }
}
With the above changes, i was able to login to kibana and elasticsearch using cerdentials **admin/admin . **
Now i want to login to elasticsearch and kibana using https.
following are the changes i performed,
Elasticsearch.yml
searchguard.ssl.http.enabled: true
searchguard.ssl.http.keystore_filepath: D:\Softwares\ELK\elasticsearch-5.4.0\elasticsearch-5.4.0\config\CN=localhost-keystore.jks
searchguard.ssl.http.keystore_password: 221749a2add117cf889f
searchguard.ssl.http.truststore_filepath: D:\Softwares\ELK\elasticsearch-5.4.0\elasticsearch-5.4.0\config\truststore.jks
searchguard.ssl.http.truststore_password: 6d6cf1cc017dc874960b
searchguard.authcz.admin_dn:
- CN=sgadmin
searchguard.ssl.transport.keystore_filepath: D:\Softwares\ELK\elasticsearch-5.4.0\elasticsearch-5.4.0\config\CN=localhost-keystore.jks
searchguard.ssl.transport.keystore_password: 221749a2add117cf889f
searchguard.ssl.transport.truststore_filepath: D:\Softwares\ELK\elasticsearch-5.4.0\elasticsearch-5.4.0\config\truststore.jks
searchguard.ssl.transport.truststore_password: 6d6cf1cc017dc874960b
With this, i was able to login to elasticsearch using https.
But i want to know what changes i need to do in Kibana.yml and logstash.config .
Please help me in the regard. I am not able to find info online.