Applying SSL to Elasticsearch and Kibana: Connection refused on Kibana

Hello

I just configured Elastic and Kibana to use SSL but Im getting a connection refused and errors about Kibana not being able to connect

elasticsearch.yml:

# 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.http.ssl.enabled: true 
#xpack.security.http.ssl.keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes
#xpack.security.transport.ssl:#
#  enabled: true
#  verification_mode: certificate
#  keystore.path: certs/transport.p12
#  truststore.path: certs/transport.p12
  
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
#xpack.security.transport.ssl.keystore.path: certs/transport.p12
#xpack.security.transport.ssl.truststore.path: certs/transport.p12


xpack.security.http.ssl.key: certs/servername.key
xpack.security.http.ssl.certificate: certs/servername.crt
xpack.security.http.ssl.certificate_authorities: certs/company-dc-CA.crt
xpack.security.transport.ssl.key: certs/servername.key
xpack.security.transport.ssl.certificate: certs/servername.crt
xpack.security.transport.ssl.certificate_authorities: certs/company-dc-CA.crt

kibana.yml

# =================== System: Kibana Server (Optional) ===================
# Enables SSL and paths to the PEM-format SSL certificate and SSL key files, respectively.
# These settings enable SSL for outgoing requests from the Kibana server to the browser.
server.ssl.enabled: true
server.ssl.certificate: /etc/elasticsearch/certs/servername.crt
server.ssl.key: /etc/elasticsearch/certs/servername.key

kibana.log:

{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:38:47.272+02:00","message":"Failed to poll for work: ConnectionError: connect ECONNREFUSED 172.20.5.100:9200","log":{"level":"ERROR","logger":"plugins.taskManager"},"process":{"pid":798,"uptime":440419.083076076},"trace":{"id":"a29a22ddce4eb176fe02379e5ef90cb4"},"transaction":{"id":"8157c86a3e159468"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:38:47.848+02:00","message":"elasticsearch service is now critical: Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 172.20.5.100:9200","log":{"level":"ERROR","logger":"status.core.elasticsearch"},"process":{"pid":798,"uptime":440419.6579912},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:38:47.848+02:00","message":"savedObjects service is now unavailable: SavedObjects service is not available without a healthy Elasticearch connection","log":{"level":"ERROR","logger":"status.core.savedObjects"},"process":{"pid":798,"uptime":440419.658546081},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:38:47.848+02:00","message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 172.20.5.100:9200","log":{"level":"ERROR","logger":"elasticsearch-service"},"process":{"pid":798,"uptime":440419.658689977},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:38:47.888+02:00","message":"taskManager plugin is now critical: 1 service(s) and 0 plugin(s) are critical: elasticsearch | See the status page for more information","log":{"level":"ERROR","logger":"status.plugins.taskManager"},"process":{"pid":798,"uptime":440419.698166583},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:38:47.968+02:00","message":"Kibana is now critical (was available): 1 service(s) and 1 plugin(s) are critical: elasticsearch, taskManager","log":{"level":"ERROR","logger":"status"},"process":{"pid":798,"uptime":440419.778545485},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:38:49.363+02:00","message":"connect ECONNREFUSED 172.20.5.100:9200","error":{"message":"connect ECONNREFUSED 172.20.5.100:9200","type":"ConnectionError","stack_trace":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at ClientTraced.UpdateApi [as update] (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/update.js:50:12)"},"log":{"level":"WARN","logger":"plugins.usageCollection.usage-collection.usage-counters-service"},"process":{"pid":798,"uptime":440421.173353092},"trace":{"id":"0e316b443a20d583cc1e0eeb8c1bd1bf"},"transaction":{"id":"6fb0ae6e6256b7e8"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:38:49.364+02:00","message":"connect ECONNREFUSED 172.20.5.100:9200","error":{"message":"connect ECONNREFUSED 172.20.5.100:9200","type":"ConnectionError","stack_trace":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at ClientTraced.UpdateApi [as update] (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/update.js:50:12)"},"log":{"level":"WARN","logger":"plugins.usageCollection.usage-collection.usage-counters-service"},"process":{"pid":798,"uptime":440421.174259589},"trace":{"id":"0e316b443a20d583cc1e0eeb8c1bd1bf"},"transaction":{"id":"6fb0ae6e6256b7e8"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:38:49.365+02:00","message":"connect ECONNREFUSED 172.20.5.100:9200","error":{"message":"connect ECONNREFUSED 172.20.5.100:9200","type":"ConnectionError","stack_trace":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at ClientTraced.UpdateApi [as update] (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/update.js:50:12)"},"log":{"level":"WARN","logger":"plugins.usageCollection.usage-collection.usage-counters-service"},"process":{"pid":798,"uptime":440421.17484615},"trace":{"id":"0e316b443a20d583cc1e0eeb8c1bd1bf"},"transaction":{"id":"6fb0ae6e6256b7e8"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:38:54.125+02:00","message":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at Monitoring.bulk (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/monitoring.js:53:16)\n    at sendBulkPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/lib/send_bulk_payload.js:19:10)\n    at BulkUploader._onPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:160:12)\n    at BulkUploader._fetchAndUpload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:149:9)","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440425.935517125},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:38:54.125+02:00","message":"Unable to bulk upload the stats payload to the local cluster","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440425.935798576},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:04.125+02:00","message":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at Monitoring.bulk (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/monitoring.js:53:16)\n    at sendBulkPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/lib/send_bulk_payload.js:19:10)\n    at BulkUploader._onPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:160:12)\n    at BulkUploader._fetchAndUpload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:149:9)","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440435.935874046},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:04.126+02:00","message":"Unable to bulk upload the stats payload to the local cluster","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440435.936146842},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:05.006+02:00","message":"License information could not be obtained from Elasticsearch due to ConnectionError: connect ECONNREFUSED 172.20.5.100:9200 error","log":{"level":"WARN","logger":"plugins.licensing"},"process":{"pid":798,"uptime":440436.81650556},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:10.287+02:00","message":"License information could not be obtained from Elasticsearch due to ConnectionError: connect ECONNREFUSED 172.20.5.100:9200 error","log":{"level":"WARN","logger":"plugins.licensing"},"process":{"pid":798,"uptime":440442.097670934},"trace":{"id":"04f9d2c285bc1fd79fb12c86871f459d"},"transaction":{"id":"e57d70dd470541af"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:14.125+02:00","message":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at Monitoring.bulk (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/monitoring.js:53:16)\n    at sendBulkPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/lib/send_bulk_payload.js:19:10)\n    at BulkUploader._onPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:160:12)\n    at BulkUploader._fetchAndUpload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:149:9)","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440445.934937485},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:14.125+02:00","message":"Unable to bulk upload the stats payload to the local cluster","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440445.935098882},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:24.126+02:00","message":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at Monitoring.bulk (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/monitoring.js:53:16)\n    at sendBulkPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/lib/send_bulk_payload.js:19:10)\n    at BulkUploader._onPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:160:12)\n    at BulkUploader._fetchAndUpload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:149:9)","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440455.936606672},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:24.127+02:00","message":"Unable to bulk upload the stats payload to the local cluster","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440455.936939332},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:25.585+02:00","message":"Unable to retrieve version information from Elasticsearch nodes. security_exception\n\tCaused by:\n\t\tcluster_block_exception: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];\n\tRoot causes:\n\t\tcluster_block_exception: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];","log":{"level":"ERROR","logger":"elasticsearch-service"},"process":{"pid":798,"uptime":440457.395388728},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:30.513+02:00","message":"elasticsearch service is now available: Elasticsearch is available","log":{"level":"INFO","logger":"status.core.elasticsearch"},"process":{"pid":798,"uptime":440462.323730254},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:30.586+02:00","message":"savedObjects service is now available: SavedObjects service has completed migrations and is available","log":{"level":"INFO","logger":"status.core.savedObjects"},"process":{"pid":798,"uptime":440462.3960324},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:30.645+02:00","message":"taskManager plugin is now available: Task Manager is healthy","log":{"level":"INFO","logger":"status.plugins.taskManager"},"process":{"pid":798,"uptime":440462.455564306},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:30.726+02:00","message":"Kibana is now available (was critical)","log":{"level":"INFO","logger":"status"},"process":{"pid":798,"uptime":440462.536347306},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:31.834+02:00","message":"taskManager plugin is now degraded: Task Manager is unhealthy - Reason: setting HealthStatus.Error because of expired hot timestamps","log":{"level":"WARN","logger":"status.plugins.taskManager"},"process":{"pid":798,"uptime":440463.644726154},"trace":{"id":"0bc1bc9627e9db6ba8b5a5898ab38a88"},"transaction":{"id":"47f7895f3fcd838f"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:31.914+02:00","message":"Kibana is now degraded (was available): 0 service(s) and 1 plugin(s) are degraded: taskManager","log":{"level":"WARN","logger":"status"},"process":{"pid":798,"uptime":440463.724329078},"trace":{"id":"0bc1bc9627e9db6ba8b5a5898ab38a88"},"transaction":{"id":"47f7895f3fcd838f"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:33.173+02:00","message":"Started. Checking for changes to endpoint artifacts","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440464.983714108},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"a11ef8ef35f83b50"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:33.184+02:00","message":"Last computed manifest not available yet","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440464.993905545},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"a11ef8ef35f83b50"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:33.184+02:00","message":"Complete. Task run took 11ms [ stated: 2024-04-30T11:39:33.173Z ]","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440464.994093026},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"a11ef8ef35f83b50"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:36.720+02:00","message":"taskManager plugin is now available: Task Manager is healthy","log":{"level":"INFO","logger":"status.plugins.taskManager"},"process":{"pid":798,"uptime":440468.529887055},"trace":{"id":"839d11f45079970194267018ceb2388a"},"transaction":{"id":"e12892cb1300fe15"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:39:36.800+02:00","message":"Kibana is now available (was degraded)","log":{"level":"INFO","logger":"status"},"process":{"pid":798,"uptime":440468.610200338},"trace":{"id":"839d11f45079970194267018ceb2388a"},"transaction":{"id":"e12892cb1300fe15"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:40:33.905+02:00","message":"Started. Checking for changes to endpoint artifacts","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440525.715010534},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"24accff339675fed"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:40:33.910+02:00","message":"Last computed manifest not available yet","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440525.720002839},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"24accff339675fed"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:40:33.910+02:00","message":"Complete. Task run took 5ms [ stated: 2024-04-30T11:40:33.905Z ]","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440525.720207235},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"24accff339675fed"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:03.602+02:00","message":"Failed to poll for work: ConnectionError: socket hang up - Local: 172.20.5.100:51950, Remote: 172.20.5.100:9200","log":{"level":"ERROR","logger":"plugins.taskManager"},"process":{"pid":798,"uptime":440555.41221589},"trace":{"id":"04c1e28ab4dc545a07f5bfc60fc0a95f"},"transaction":{"id":"2db43f619e8acd1e"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:04.126+02:00","message":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at Monitoring.bulk (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/monitoring.js:53:16)\n    at sendBulkPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/lib/send_bulk_payload.js:19:10)\n    at BulkUploader._onPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:160:12)\n    at BulkUploader._fetchAndUpload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:149:9)","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440555.936652421},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:04.127+02:00","message":"Unable to bulk upload the stats payload to the local cluster","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440555.936824057},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:05.012+02:00","message":"License information could not be obtained from Elasticsearch due to ConnectionError: connect ECONNREFUSED 172.20.5.100:9200 error","log":{"level":"WARN","logger":"plugins.licensing"},"process":{"pid":798,"uptime":440556.822263018},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:05.365+02:00","message":"elasticsearch service is now critical: Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 172.20.5.100:9200","log":{"level":"ERROR","logger":"status.core.elasticsearch"},"process":{"pid":798,"uptime":440557.175217836},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:05.366+02:00","message":"savedObjects service is now unavailable: SavedObjects service is not available without a healthy Elasticearch connection","log":{"level":"ERROR","logger":"status.core.savedObjects"},"process":{"pid":798,"uptime":440557.17585366},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:05.366+02:00","message":"Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 172.20.5.100:9200","log":{"level":"ERROR","logger":"elasticsearch-service"},"process":{"pid":798,"uptime":440557.176092411},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:05.380+02:00","message":"taskManager plugin is now critical: 1 service(s) and 0 plugin(s) are critical: elasticsearch | See the status page for more information","log":{"level":"ERROR","logger":"status.plugins.taskManager"},"process":{"pid":798,"uptime":440557.190841991},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:05.461+02:00","message":"Kibana is now critical (was available): 1 service(s) and 1 plugin(s) are critical: elasticsearch, taskManager","log":{"level":"ERROR","logger":"status"},"process":{"pid":798,"uptime":440557.2714247},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:09.374+02:00","message":"connect ECONNREFUSED 172.20.5.100:9200","error":{"message":"connect ECONNREFUSED 172.20.5.100:9200","type":"ConnectionError","stack_trace":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at ClientTraced.UpdateApi [as update] (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/update.js:50:12)"},"log":{"level":"WARN","logger":"plugins.usageCollection.usage-collection.usage-counters-service"},"process":{"pid":798,"uptime":440561.184630651},"trace":{"id":"0e316b443a20d583cc1e0eeb8c1bd1bf"},"transaction":{"id":"6fb0ae6e6256b7e8"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:09.375+02:00","message":"connect ECONNREFUSED 172.20.5.100:9200","error":{"message":"connect ECONNREFUSED 172.20.5.100:9200","type":"ConnectionError","stack_trace":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at ClientTraced.UpdateApi [as update] (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/update.js:50:12)"},"log":{"level":"WARN","logger":"plugins.usageCollection.usage-collection.usage-counters-service"},"process":{"pid":798,"uptime":440561.185302435},"trace":{"id":"0e316b443a20d583cc1e0eeb8c1bd1bf"},"transaction":{"id":"6fb0ae6e6256b7e8"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:09.376+02:00","message":"connect ECONNREFUSED 172.20.5.100:9200","error":{"message":"connect ECONNREFUSED 172.20.5.100:9200","type":"ConnectionError","stack_trace":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at ClientTraced.UpdateApi [as update] (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/update.js:50:12)"},"log":{"level":"WARN","logger":"plugins.usageCollection.usage-collection.usage-counters-service"},"process":{"pid":798,"uptime":440561.185840271},"trace":{"id":"0e316b443a20d583cc1e0eeb8c1bd1bf"},"transaction":{"id":"6fb0ae6e6256b7e8"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:10.290+02:00","message":"License information could not be obtained from Elasticsearch due to ConnectionError: connect ECONNREFUSED 172.20.5.100:9200 error","log":{"level":"WARN","logger":"plugins.licensing"},"process":{"pid":798,"uptime":440562.100780213},"trace":{"id":"04f9d2c285bc1fd79fb12c86871f459d"},"transaction":{"id":"e57d70dd470541af"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:14.124+02:00","message":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at Monitoring.bulk (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/monitoring.js:53:16)\n    at sendBulkPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/lib/send_bulk_payload.js:19:10)\n    at BulkUploader._onPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:160:12)\n    at BulkUploader._fetchAndUpload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:149:9)","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440565.936119483},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:14.126+02:00","message":"Unable to bulk upload the stats payload to the local cluster","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440565.936495984},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:24.126+02:00","message":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at Monitoring.bulk (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/monitoring.js:53:16)\n    at sendBulkPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/lib/send_bulk_payload.js:19:10)\n    at BulkUploader._onPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:160:12)\n    at BulkUploader._fetchAndUpload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:149:9)","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440575.936494016},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:24.126+02:00","message":"Unable to bulk upload the stats payload to the local cluster","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440575.936801367},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:34.125+02:00","message":"ConnectionError: connect ECONNREFUSED 172.20.5.100:9200\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@elastic/transport/lib/Transport.js:528:31)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at KibanaTransport.request (/usr/share/kibana/node_modules/@kbn/core-elasticsearch-client-server-internal/src/create_transport.js:51:16)\n    at Monitoring.bulk (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/api/api/monitoring.js:53:16)\n    at sendBulkPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/lib/send_bulk_payload.js:19:10)\n    at BulkUploader._onPayload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:160:12)\n    at BulkUploader._fetchAndUpload (/usr/share/kibana/node_modules/@kbn/monitoring-plugin/server/kibana_monitoring/bulk_uploader.js:149:9)","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440585.936245075},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:34.126+02:00","message":"Unable to bulk upload the stats payload to the local cluster","log":{"level":"WARN","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440585.936552953},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:35.006+02:00","message":"License information could not be obtained from Elasticsearch due to ConnectionError: connect ECONNREFUSED 172.20.5.100:9200 error","log":{"level":"WARN","logger":"plugins.licensing"},"process":{"pid":798,"uptime":440586.816717642},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:37.942+02:00","message":"Unable to retrieve version information from Elasticsearch nodes. security_exception\n\tCaused by:\n\t\tcluster_block_exception: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];\n\tRoot causes:\n\t\tcluster_block_exception: blocked by: [SERVICE_UNAVAILABLE/1/state not recovered / initialized];","log":{"level":"ERROR","logger":"elasticsearch-service"},"process":{"pid":798,"uptime":440589.752036911},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:40.816+02:00","message":"elasticsearch service is now available: Elasticsearch is available","log":{"level":"INFO","logger":"status.core.elasticsearch"},"process":{"pid":798,"uptime":440592.626759994},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:40.865+02:00","message":"savedObjects service is now available: SavedObjects service has completed migrations and is available","log":{"level":"INFO","logger":"status.core.savedObjects"},"process":{"pid":798,"uptime":440592.678546784},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:40.938+02:00","message":"taskManager plugin is now available: Task Manager is healthy","log":{"level":"INFO","logger":"status.plugins.taskManager"},"process":{"pid":798,"uptime":440592.748093187},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:41.012+02:00","message":"Kibana is now available (was critical)","log":{"level":"INFO","logger":"status"},"process":{"pid":798,"uptime":440592.821859755},"trace":{"id":"3a005fd0b0521141851581fa93670447"},"transaction":{"id":"cd4ba6387a006c86"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:41.364+02:00","message":"taskManager plugin is now degraded: Task Manager is unhealthy - Reason: setting HealthStatus.Error because of expired hot timestamps","log":{"level":"WARN","logger":"status.plugins.taskManager"},"process":{"pid":798,"uptime":440593.17465221},"trace":{"id":"d90758bbffe269391d0d924514f7ce81"},"transaction":{"id":"2e6fbefd9e529702"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:41.444+02:00","message":"Kibana is now degraded (was available): 0 service(s) and 1 plugin(s) are degraded: taskManager","log":{"level":"WARN","logger":"status"},"process":{"pid":798,"uptime":440593.254810956},"trace":{"id":"d90758bbffe269391d0d924514f7ce81"},"transaction":{"id":"2e6fbefd9e529702"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:42.888+02:00","message":"Started. Checking for changes to endpoint artifacts","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440594.698222023},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"d86935e9a72d3b02"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:42.902+02:00","message":"Last computed manifest not available yet","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440594.712168804},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"d86935e9a72d3b02"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:42.905+02:00","message":"Complete. Task run took 17ms [ stated: 2024-04-30T11:41:42.888Z ]","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440594.715256909},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"d86935e9a72d3b02"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:47.011+02:00","message":"taskManager plugin is now available: Task Manager is healthy","log":{"level":"INFO","logger":"status.plugins.taskManager"},"process":{"pid":798,"uptime":440598.82156641},"trace":{"id":"3bd343ffb95eb7830b2bb638812c2c5a"},"transaction":{"id":"ea09a4fa818edad9"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:41:47.092+02:00","message":"Kibana is now available (was degraded)","log":{"level":"INFO","logger":"status"},"process":{"pid":798,"uptime":440598.90245849},"trace":{"id":"3bd343ffb95eb7830b2bb638812c2c5a"},"transaction":{"id":"ea09a4fa818edad9"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:42:44.220+02:00","message":"Started. Checking for changes to endpoint artifacts","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440656.03011375},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"c3a22d3425d3e36f"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:42:44.228+02:00","message":"Last computed manifest not available yet","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440656.038619249},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"c3a22d3425d3e36f"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:42:44.229+02:00","message":"Complete. Task run took 9ms [ stated: 2024-04-30T11:42:44.220Z ]","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440656.038772924},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"c3a22d3425d3e36f"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:43:47.208+02:00","message":"Started. Checking for changes to endpoint artifacts","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440719.018630847},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"3cd2e9d51abbdda0"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:43:47.215+02:00","message":"Last computed manifest not available yet","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440719.025471008},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"3cd2e9d51abbdda0"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:43:47.215+02:00","message":"Complete. Task run took 7ms [ stated: 2024-04-30T11:43:47.208Z ]","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440719.025630153},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"3cd2e9d51abbdda0"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:44:50.260+02:00","message":"Started. Checking for changes to endpoint artifacts","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440782.070079188},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"78ff8eb2b30307d1"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:44:50.268+02:00","message":"Last computed manifest not available yet","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440782.078191983},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"78ff8eb2b30307d1"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:44:50.268+02:00","message":"Complete. Task run took 8ms [ stated: 2024-04-30T11:44:50.260Z ]","log":{"level":"INFO","logger":"plugins.securitySolution.endpoint:user-artifact-packager:1.0.0"},"process":{"pid":798,"uptime":440782.078466848},"trace":{"id":"0bba069ad94227c96df027ab7624d28d"},"transaction":{"id":"78ff8eb2b30307d1"}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:44:59.340+02:00","message":"SIGTERM received - initiating shutdown","log":{"level":"INFO","logger":"root"},"process":{"pid":798,"uptime":440791.15005551}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:44:59.340+02:00","message":"Kibana is shutting down","log":{"level":"INFO","logger":"root"},"process":{"pid":798,"uptime":440791.15055352}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:44:59.344+02:00","message":"Stopping all plugins.","log":{"level":"INFO","logger":"plugins-system.standard"},"process":{"pid":798,"uptime":440791.154317866}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:44:59.348+02:00","message":"Monitoring stats collection is stopped","log":{"level":"INFO","logger":"plugins.monitoring.monitoring.kibana-monitoring"},"process":{"pid":798,"uptime":440791.158546705}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:44:59.399+02:00","message":"All plugins stopped.","log":{"level":"INFO","logger":"plugins-system.standard"},"process":{"pid":798,"uptime":440791.209157049}}
{"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:45:04.234+02:00","message":"Kibana is starting","log":{"level":"INFO","logger":"root"},"process":{"pid":3110942,"uptime":2.017902742}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:45:04.328+02:00","message":"Kibana process configured with roles: [background_tasks, ui]","log":{"level":"INFO","logger":"node"},"process":{"pid":3110942,"uptime":2.050734309},"trace":{"id":"b4d7d5a2d5f9f852186286ebc5e07671"},"transaction":{"id":"7cc493c422281e4a"}}
{"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:45:17.894+02:00","message":"Kibana is starting","log":{"level":"INFO","logger":"root"},"process":{"pid":3111048,"uptime":1.999490256}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:45:17.970+02:00","message":"Kibana process configured with roles: [background_tasks, ui]","log":{"level":"INFO","logger":"node"},"process":{"pid":3111048,"uptime":2.039849302},"trace":{"id":"349dc9616b7ed50e05bf12a2588eb27c"},"transaction":{"id":"f55e75a83b77ca40"}}
{"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:45:31.171+02:00","message":"Kibana is starting","log":{"level":"INFO","logger":"root"},"process":{"pid":3111140,"uptime":2.030019215}}
{"service":{"node":{"roles":["background_tasks","ui"]}},"ecs":{"version":"8.11.0"},"@timestamp":"2024-04-30T13:45:31.244+02:00","message":"Kibana process configured with roles: [background_tasks, ui]","log":{"level":"INFO","logger":"node"},"process":{"pid":3111140,"uptime":2.061494167},"trace":{"id":"9c76d65d2ea9dafa2194e3863978f5ba"},"transaction":{"id":"a31f9ce318ae5e3c"}}
[2024-04-30T17:37:29,958][WARN ][o.e.c.s.DiagnosticTrustManager] [server] failed to establish trust with client at [<unknown host>]; the client provided a certificate with subject name [CN=server.domain.local,OU=IT,O=company,L=city,ST=state,C=US], fingerprint [97e8142ae92665ea5d45cc91a2233f0f16be5258], keyUsage [digitalSignature, keyEncipherment] and extendedKeyUsage [serverAuth]; the certificate is valid between [2024-04-30T14:39:06Z] and [2026-04-30T14:39:06Z] (current time is [2024-04-30T15:37:29.957936007Z], certificate dates are valid); the session uses cipher suite [TLS_AES_256_GCM_SHA384] and protocol [TLSv1.3]; the certificate is issued by [CN=company-SRVDC1-CA,DC=company,DC=local]; the certificate is signed by (subject [CN=company-SRVDC1-CA,DC=company,DC=local] fingerprint [ae863ddcc4d903a4610c302f4f6e3e3f4417fd6e] {trusted issuer}) which is self-issued; the [CN=company-SRVDC1-CA,DC=company,DC=local] certificate is trusted in this ssl context ([xpack.security.transport.ssl (with trust configuration: PEM-trust{/etc/elasticsearch/certs/company-SRVDC1-CA.crt})])
sun.security.validator.ValidatorException: Extended key usage does not permit use for TLS client authentication

I think you should set your kibana_system user, password and elasticsearch host in kibana.yml.

elasticsearch.hosts: ["https://yourels:9200"]
elasticsearch.username: "kibana_system"
elasticsearch.password: "<kibana_password>"

You can reset your kibana_system password as here elasticsearch-reset-password | Elasticsearch Guide [8.13] | Elastic

bin/elasticsearch-reset-password -u kibana_system

Is there a default pass for kibana_system?

As far as I know kibana_system is a built-in password. Here there is information. Built-in users | Elasticsearch Guide [8.13] | Elastic

In kibana.yml, its set as "pass" so....I guess thats it

Needs to be at least 6 characters....I love it that the yml says pass and it needs to be 6, lol...No sense

[2024-04-30T17:37:29,958][WARN ][o.e.c.s.DiagnosticTrustManager] [server] failed to establish trust with client at [<unknown host>]; the client provided a certificate with subject name [CN=server.company.local,OU=IT,O=company ,L=city,ST=state,C=US], fingerprint [97e8142ae92665ea5d45cc91a2233f0f16be5258], keyUsage [digitalSignature, keyEncipherment] and extendedKeyUsage [serverAuth]; the certificate is valid between [2024-04-30T14:39:06Z] and [2026-04-30T14:39:06Z] (current time is [2024-04-30T15:37:29.957936007Z], certificate dates are valid); the session uses cipher suite [TLS_AES_256_GCM_SHA384] and protocol [TLSv1.3]; the certificate is issued by [CN=company-SRVDC1-CA,DC=company,DC=local]; the certificate is signed by (subject [CN=company-SRVDC1-CA,DC=company,DC=local] fingerprint [ae863ddcc4d903a4610c302f4f6e3e3f4417fd6e] {trusted issuer}) which is self-issued; the [CN=company-SRVDC1-CA,DC=company,DC=local] certificate is trusted in this ssl context ([xpack.security.transport.ssl (with trust configuration: PEM-trust{/etc/elasticsearch/certs/company-SRVDC1-CA.crt})])
sun.security.validator.ValidatorException: Extended key usage does not permit use for TLS client authentication

Same error

Can You should share your entire yml files, not just snippets.. There are key settings that we can't see.

server.ssl.enabled: true
server.ssl.certificate: /etc/elasticsearch/certs/servername.crt
server.ssl.key: /etc/elasticsearch/certs/servername.key

Those tell Kibana to run on SSL is not related to connection to elasticsearch... So please share your entire.ymls for both elastic and Kibana
Looks like a certificate issue.

Also Did you simply try to curl elasticsearch to see if it can be properly accessed over https?

curl -k -v -u elastic https://elastichost:9200

elasticsearch.yml:

# ======================== Elasticsearch Configuration =========================
#
# NOTE: Elasticsearch comes with reasonable defaults for most settings.
#       Before you set out to tweak and tune the configuration, make sure you
#       understand what are you trying to accomplish and the consequences.
#
# The primary way of configuring a node is via this file. This template lists
# the most important settings you may want to configure for a production cluster.
#
# Please consult the documentation for further information on configuration options:
# https://www.elastic.co/guide/en/elasticsearch/reference/index.html
#
# ---------------------------------- Cluster -----------------------------------
#
# Use a descriptive name for your cluster:
#
cluster.name: TheCluster
#
# ------------------------------------ Node ------------------------------------
#
# Use a descriptive name for the node:
#
#node.name: node-1
#
# Add custom attributes to the node:
#
#node.attr.rack: r1
#
# ----------------------------------- Paths ------------------------------------
#
# Path to directory where to store the data (separate multiple locations by comma):
#
path.data: /data/elasticsearch/data
#
# Path to log files:
#
path.logs: /data/elasticsearch/logs
#
# ----------------------------------- Memory -----------------------------------
#
# Lock the memory on startup:
#
#bootstrap.memory_lock: true
#
# Make sure that the heap size is set to about half the memory available
# on the system and that the owner of the process is allowed to use this
# limit.
#
# Elasticsearch performs poorly when the system is swapping the memory.
#
# ---------------------------------- Network -----------------------------------
#
# By default Elasticsearch is only accessible on localhost. Set a different
# address here to expose this node on the network:
#
network.host: 0.0.0.0
transport.host: 0.0.0.0
#
# By default Elasticsearch listens for HTTP traffic on the first free port it
# finds starting at 9200. Set a specific HTTP port here:
#
# http.port: 9200
#
# For more information, consult the network module documentation.
#
# --------------------------------- Discovery ----------------------------------
#
# Pass an initial list of hosts to perform discovery when this node is started:
# The default list of hosts is ["127.0.0.1", "[::1]"]
#
#discovery.seed_hosts: ["host1", "host2"]
#
# Bootstrap the cluster using an initial set of master-eligible nodes:
#
#cluster.initial_master_nodes: ["node-1", "node-2"]
#
# For more information, consult the discovery and cluster formation module documentation.
#
# ---------------------------------- Various -----------------------------------
#
# Allow wildcard deletion of indices:
#
#action.destructive_requires_name: false

#----------------------- BEGIN SECURITY AUTO CONFIGURATION -----------------------
#
# The following settings, TLS certificates, and keys have been automatically      
# generated to configure Elasticsearch security features on 23-04-2024 15:20:35
#
# --------------------------------------------------------------------------------

# 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.http.ssl.enabled: true 
#xpack.security.http.ssl.keystore.path: certs/http.p12

# Enable encryption and mutual authentication between cluster nodes
#xpack.security.transport.ssl:#
#  enabled: true
#  verification_mode: certificate
#  keystore.path: certs/transport.p12
#  truststore.path: certs/transport.p12
  
xpack.security.transport.ssl.enabled: true
xpack.security.transport.ssl.verification_mode: certificate
#xpack.security.transport.ssl.keystore.path: certs/transport.p12
#xpack.security.transport.ssl.truststore.path: certs/transport.p12


xpack.security.http.ssl.key: certs/TheServer01.key
xpack.security.http.ssl.certificate: certs/TheServer01.crt
xpack.security.http.ssl.certificate_authorities: certs/company-SRVDC1-CA.crt
xpack.security.transport.ssl.key: certs/TheServer01.key
xpack.security.transport.ssl.certificate: certs/TheServer01.crt
xpack.security.transport.ssl.certificate_authorities: certs/company-SRVDC1-CA.crt
 
 
# Create a new cluster with the current node only
# Additional nodes can still join the cluster later
cluster.initial_master_nodes: ["TheServer01"]

# Allow HTTP API connections from anywhere
# Connections are encrypted and require user authentication
http.host: 0.0.0.0

# Allow other nodes to join the cluster from anywhere
# Connections are encrypted and mutually authenticated
#transport.host: 0.0.0.0

#----------------------- END SECURITY AUTO CONFIGURATION -------------------------

kibana.yml

### >>>>>>> BACKUP START: Kibana interactive setup (2024-04-24T09:01:34.743Z)

# For more configuration options see the configuration guide for Kibana in
# https://www.elastic.co/guide/index.html

# =================== System: Kibana Server ===================
# Kibana is served by a back end server. This setting specifies the port to use.
#server.port: 5601

# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be able to connect.
# To allow connections from remote users, set this parameter to a non-loopback address.
#server.host: "0.0.0.0"

# Enables you to specify a path to mount Kibana at if you are running behind a proxy.
# Use the `server.rewriteBasePath` setting to tell Kibana if it should remove the basePath
# from requests it receives, and to prevent a deprecation warning at startup.
# This setting cannot end in a slash.
#server.basePath: ""

# Specifies whether Kibana should rewrite requests that are prefixed with
# `server.basePath` or require that they are rewritten by your reverse proxy.
# Defaults to `false`.
#server.rewriteBasePath: false

# Specifies the public URL at which Kibana is available for end users. If
# `server.basePath` is configured this URL should end with the same basePath.
#server.publicBaseUrl: ""

# The maximum payload size in bytes for incoming server requests.
#server.maxPayload: 1048576

# The Kibana server's name. This is used for display purposes.
#server.name: "your-hostname"

# =================== System: Kibana Server (Optional) ===================
# Enables SSL and paths to the PEM-format SSL certificate and SSL key files, respectively.
# These settings enable SSL for outgoing requests from the Kibana server to the browser.
server.ssl.enabled: true
server.ssl.certificate: /etc/elasticsearch/certs/TheServer01.crt
server.ssl.key: /etc/elasticsearch/certs/TheServer01.key

# =================== System: Elasticsearch ===================
# The URLs of the Elasticsearch instances to use for all your queries.
elasticsearch.hosts: ["https://localhost:9200"]

# If your Elasticsearch is protected with basic authentication, these settings provide
# the username and password that the Kibana server uses to perform maintenance on the Kibana
# index at startup. Your Kibana users still need to authenticate with Elasticsearch, which
# is proxied through the Kibana server.
elasticsearch.username: "kibana_system"
elasticsearch.password: "kibana_pass"

# Kibana can also authenticate to Elasticsearch via "service account tokens".
# Service account tokens are Bearer style tokens that replace the traditional username/password based configuration.
# Use this token instead of a username/password.
# elasticsearch.serviceAccountToken: "my_token"

# Time in milliseconds to wait for Elasticsearch to respond to pings. Defaults to the value of
# the elasticsearch.requestTimeout setting.
#elasticsearch.pingTimeout: 1500

# Time in milliseconds to wait for responses from the back end or Elasticsearch. This value
# must be a positive integer.
#elasticsearch.requestTimeout: 30000

# The maximum number of sockets that can be used for communications with elasticsearch.
# Defaults to `Infinity`.
#elasticsearch.maxSockets: 1024

# Specifies whether Kibana should use compression for communications with elasticsearch
# Defaults to `false`.
#elasticsearch.compression: false

# List of Kibana client-side headers to send to Elasticsearch. To send *no* client-side
# headers, set this value to [] (an empty list).
#elasticsearch.requestHeadersWhitelist: [ authorization ]

# Header names and values that are sent to Elasticsearch. Any custom headers cannot be overwritten
# by client-side headers, regardless of the elasticsearch.requestHeadersWhitelist configuration.
#elasticsearch.customHeaders: {}

# Time in milliseconds for Elasticsearch to wait for responses from shards. Set to 0 to disable.
#elasticsearch.shardTimeout: 30000

# =================== System: Elasticsearch (Optional) ===================
# These files are used to verify the identity of Kibana to Elasticsearch and are required when
# xpack.security.http.ssl.client_authentication in Elasticsearch is set to required.
#elasticsearch.ssl.certificate: /path/to/your/client.crt
#elasticsearch.ssl.key: /path/to/your/client.key

# Enables you to specify a path to the PEM file for the certificate
# authority for your Elasticsearch instance.
#elasticsearch.ssl.certificateAuthorities: [ "/path/to/your/CA.pem" ]

# To disregard the validity of SSL certificates, change this setting's value to 'none'.
#elasticsearch.ssl.verificationMode: full

# =================== System: Logging ===================
# Set the value of this setting to off to suppress all logging output, or to debug to log everything. Defaults to 'info'
#logging.root.level: debug

# Enables you to specify a file where Kibana stores log output.
#logging:
#  appenders:
#    file:
#      type: file
#      fileName: /data/kibana/logs/kibana.log
#      layout:
#        type: json
#  root:
#    appenders:
#      - default
#      - file
#  policy:
#    type: size-limit
#    size: 256mb
#  strategy:
#    type: numeric
#    max: 10
#  layout:
#    type: json

# Logs queries sent to Elasticsearch.
#logging.loggers:
#  - name: elasticsearch.query
#    level: debug

# Logs http responses.
#logging.loggers:
#  - name: http.server.response
#    level: debug

# Logs system usage information.
#logging.loggers:
#  - name: metrics.ops
#    level: debug

# Enables debug logging on the browser (dev console)
#logging.browser.root:
#  level: debug

# =================== System: Other ===================
# The path where Kibana stores persistent data not saved in Elasticsearch. Defaults to data
#path.data: /data/kibana/data

# Specifies the path where Kibana creates the process ID file.
#pid.file: /run/kibana/kibana.pid

# Set the interval in milliseconds to sample system and process performance
# metrics. Minimum is 100ms. Defaults to 5000ms.
#ops.interval: 5000

# Specifies locale to be used for all localizable strings, dates and number formats.
# Supported languages are the following: English (default) "en", Chinese "zh-CN", Japanese "ja-JP", French "fr-FR".
#i18n.locale: "en"

# =================== Frequently used (Optional)===================

# =================== Saved Objects: Migrations ===================
# Saved object migrations run at startup. If you run into migration-related issues, you might need to adjust these settings.

# The number of documents migrated at a time.
# If Kibana can't start up or upgrade due to an Elasticsearch `circuit_breaking_exception`,
# use a smaller batchSize value to reduce the memory pressure. Defaults to 1000 objects per batch.
#migrations.batchSize: 1000

# The maximum payload size for indexing batches of upgraded saved objects.
# To avoid migrations failing due to a 413 Request Entity Too Large response from Elasticsearch.
# This value should be lower than or equal to your Elasticsearch cluster’s `http.max_content_length`
# configuration option. Default: 100mb
#migrations.maxBatchSizeBytes: 100mb

# The number of times to retry temporary migration failures. Increase the setting
# if migrations fail frequently with a message such as `Unable to complete the [...] step after
# 15 attempts, terminating`. Defaults to 15
#migrations.retryAttempts: 15

# =================== Search Autocomplete ===================
# Time in milliseconds to wait for autocomplete suggestions from Elasticsearch.
# This value must be a whole number greater than zero. Defaults to 1000ms
#unifiedSearch.autocomplete.valueSuggestions.timeout: 1000

# Maximum number of documents loaded by each shard to generate autocomplete suggestions.
# This value must be a whole number greater than zero. Defaults to 100_000
#unifiedSearch.autocomplete.valueSuggestions.terminateAfter: 100000


# This section was automatically generated during setup.
#elasticsearch.hosts: ['https://172.20.5.100:9200']
#elasticsearch.serviceAccountToken: AAEAAWVsYXN0aWMva2liYW5hL2Vucm9sbC1wcm9jZXNzLXRva2VuLTE3MTM4ODY4MjAxOTg6aUtDdzZETmdUWDJ5S1pDN2t2bDNtUQ
#elasticsearch.ssl.certificateAuthorities: [/var/lib/kibana/ca_1713886821490.crt]
#xpack.fleet.outputs: [{id: fleet-default-output, name: default, is_default: true, is_default_monitoring: true, type: elasticsearch, hosts: ['https://172.20.5.100:9200'], ca_trusted_fingerprint: a49e593719cb3be3567593ade13f2330efcdc5f88753e30cac7864e16a7a19e6}]


### >>>>>>> BACKUP END: Kibana interactive setup (2024-04-24T09:01:34.743Z)

# This section was automatically generated during setup.
server.port: 5601
server.host: 0.0.0.0
logging.appenders.file.type: file
logging.appenders.file.fileName: /data/kibana/logs/kibana.log
logging.appenders.file.layout.type: json
logging.root.appenders: [default, file]
path.data: /data/kibana/data
pid.file: /run/kibana/kibana.pid
elasticsearch.hosts: ['https://172.20.5.100:9200']
elasticsearch.serviceAccountToken: AAEAAWVsYXN0aWMva2liYW5hL2Vucm9sbC1wcm9jZXNzLXRva2VuLTE3MTM5NDkyOTM0Nzc6VldPeXhnUzBSMEcyYWFTc3R2VFRZQQ
elasticsearch.ssl.certificateAuthorities: [/var/lib/kibana/ca_1713949294737.crt]
xpack.fleet.outputs: [{id: fleet-default-output, name: default, is_default: true, is_default_monitoring: true, type: elasticsearch, hosts: ['https://172.20.5.100:9200'], ca_trusted_fingerprint: a49e593719cb3be3567593ade13f2330efcdc5f88753e30cac7864e16a7a19e6}]

I THINK no other .yml is involved right?

Yup, I just tried curl with credentials and it works.

The initial master nodes list should contain node names, but you have not specified a node name in the config. I wonder if this could be causing problems?

Just set the node name: Same thing

Any additional logs I can provide?

You did not run the curl command I provided and you should run it with localhost since your Kibana is uses localhost in the config.

Run it from the server with Kibana on it. Show the command and the entire output.

Your
curl -k -v -u elastic https://localhost:9200

I mentioned it worked.

This is the output:

*   Trying 127.0.0.1:9200...
* Connected to localhost (127.0.0.1) port 9200 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: /etc/pki/tls/certs/ca-bundle.crt
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Unknown (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Unknown (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=US; ST=State; L=City; O=Company; OU=IT; CN=Server
*  start date: Apr 30 14:39:06 2024 GMT
*  expire date: Apr 30 14:39:06 2026 GMT
*  issuer: DC=local; DC=Company; CN=Company-SRVDC1-CA
*  SSL certificate verify ok.
* Server auth using Basic with user 'elastic'
* TLSv1.2 (OUT), TLS header, Unknown (23):
> GET / HTTP/1.1
> Host: localhost:9200
> Authorization: Basic ZWxhc3RpYzpFTEtQYTU1MjAyNCE=
> User-Agent: curl/7.76.1
> Accept: */*
>
* TLSv1.2 (IN), TLS header, Unknown (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.2 (IN), TLS header, Unknown (23):
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< X-elastic-product: Elasticsearch
< content-type: application/json
< content-length: 540
<
{
  "name" : "Server",
  "cluster_name" : "Cluster",
  "cluster_uuid" : "H2A9Q-BGTmuHlZBMYT9VFQ",
  "version" : {
    "number" : "8.13.2",
    "build_flavor" : "default",
    "build_type" : "rpm",
    "build_hash" : "16cc90cd2d08a3147ce02b07e50894bc060a4cbf",
    "build_date" : "2024-04-05T14:45:26.420424304Z",
    "build_snapshot" : false,
    "lucene_version" : "9.10.0",
    "minimum_wire_compatibility_version" : "7.17.0",
    "minimum_index_compatibility_version" : "7.0.0"
  },
  "tagline" : "You Know, for Search"
}
* Connection #0 to host localhost left intact

Looks like a cert matching issue...

From the output...

This is from the cert...

subject: C=US; ST=State; L=City; O=Company; OU=IT; CN=Server

So the common name in the cert is
CN=Server

Does not agree with the server name you set in your Kibana yml

elasticsearch.hosts: ['https://172.20.5.100:9200']

So the cert / SSL server and common name do not match so therefore, the SSL fails the validation.

A) Try setting the server name in the Kibana.yml

If you actually want to test SSL compatibility...

If you take -k out of the curl you will get that error... You will need to provide the --cacert in the curl command

or

B) You you can recreate the HTTP cert and put in the IPs and Hostnames you want to use.

SAN are set to IPs, hostname, FQDN, etc.....So there shouldnt be any issues.

It says "SSL certificate verify OK"

So, you are saying that I should change it to the FQDN?

Changed it and same thing

Hi @riahc3

That is not what the output showed... I guess you sanitized it?

Not sure what "it" is...

Apologies... I am not sure what "it" and "same thing" means. please keep in mind we are looking at many discuss topics, so details help.

What exactly did you change?

Did you get the exact same error message or something different?

So if you run

curl --cacert /var/lib/kibana/ca_1713949294737.crt -v -u elastic https://<same_ip_or_hostname_in_your_kibanadotyml>:9200

Does it work?

In the end you appear to have a cert issue...