On startig kibana after startig elasticsearch kibana is logging this error
[ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. Request timed out
My kibana.yml is
elasticsearch.hosts: ['https://192.168.2.100:9200']
elasticsearch.serviceAccountToken: AAEAAWVsYXN0aWMva2liYW5hL2Vucm9sbC1wcm9jZXNzLXRva2VuLTE2NTQ4MDU1OTY2NTk6RlVJeFBSN2dTVE9aWm9aQTVvdTR6QQ
elasticsearch.ssl.certificateAuthorities: [/Users/shivamagarwal/Downloads/kibana-8.2.2/data/ca_1654805597553.crt]
xpack.fleet.outputs: [{id: fleet-default-output, name: default, is_default: true, is_default_monitoring: true, type: elasticsearch, hosts: ['https://192.168.2.100:9200'], ca_trusted_fingerprint: 68610900779032c6cc17ee0c32b14baecd93e338be0b9fadc8d887279196c292}]
My elasticsearch.yml is
Enable security features
xpack.security.enabled: true
xpack.security.enrollment.enabled: true
Enable encryption for HTTP API client connections, such as Kibana, Logstash, and Agents
xpack.security.http.ssl:
enabled: true
keystore.path: certs/http.p12
xpack.security.transport.ssl:
enabled: true
verification_mode: certificate
keystore.path: certs/transport.p12
truststore.path: certs/transport.p12
cluster.initial_master_nodes: ["Shivams-MacBook-Pro.local"]
http.host: 0.0.0.0