Enable secure connection from Kibana to Elasticsearch

I have xpack enabled on Elasticsearch (ES) on both http layer and transport layer. Now I am trying to enable the secure connection from Kibana to ES. I have added these in Kibana.yaml

elasticsearchHosts: "https://elasticsearch-master:9200"
Elasticsearch.ssl.certificateAuthorities: /usr/share/kibana/config/certs/elastic-stack-ca.pem

  • name: elastic-ca-pem
    secretName: elastic-ca-pem
    path: /usr/share/kibana/config/certs

BTW, I created the secret elastic-ca-pem based on elastic-stack-ca.pem (I converted elastic-stack-ca.p12 to elastic-stack-ca.pem).

But after restarting Kibana pod, the pod in not in ready state. And I see the following in the log:
{"type":"log","@timestamp":"2021-09-24T21:16:19+00:00","tags":["error","savedobjects-service"],"pid":952,"message":"Unable to retrieve version information from Elasticsearch nodes."}

My ES is running 7.13.2 and Kibana is running 7.13.3. Could this be an issue?


Just out of curiosity, what happens when you remove the port number ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.