I would like to test grafana server who gives the possibility to add elasticsearch as data source.
Now that I have elasticsearch running with searchguard, i’m lost with the TLS configuration. Which one should I choose to allow grafana to access elasticsearch ?
They ask :
- client -key
- client CA (optionnal)
Here is my config in elasticsearch.yml
searchguard.ssl.transport.truststore_filepath : truststore.jks
searchguard.ssl.transport.truststore_password : xxx
searchguard.ssl.http.keystore_type : JKS
searchguard.ssl.http.keystore_filepath : CN=localhost-keystore.jks
searchguard.ssl.http.truststore_filepath : truststore.jks
searchguard.ssl.http.truststore_password : xxx
I tried to use `
- CN=localhost certificate (even if i don’t find the key for that one)
- CN=sgadmin certificate (with the appropriate key)
And a lot of others certificate/key pairs that i found in my search-guard certificate folders but doesn’t seems appropriate.
Nothing works. Below is the configuration requested for grafana for your information.
Any help on this ?