If you think it is a bug report or you have a technical issue, please answer the following questions. For general questions, you can delete these questions.
**Elasticsearch version:**7.10.2
**Kibana version (if relevant):**7.10.2
Describe the issue: In docker while using demo certificates generated by install_demo_configuration.sh is throwing below error.
{“type”:“log”,“@timestamp”:“2021-03-30T05:49:29Z”,“tags”:[“error”,“elasticsearch”,“data”],“pid”:9,“message”:“[ConnectionError]: Hostname/IP does not match certificate’s altnames: Host: elasticsearch. is not in the cert’s altnames: Registered ID:1.2.3.4.5.5, DNS:node-0.example.com, DNS:localhost, IP Address:127.0.0.1”}
tried host name as elasticsearch and localhost both are not working.
what are the altnames available in certificates?
while using https://localhost:9200 in kibana and provided cert paths, it is throwing ECONNREFUSED error
can we use self signed certificate…? Below is the log from kibana
log [05:08:30.861] [error][data][elasticsearch] [ConnectionError]: self signed certificate in certificate chain