Kibana cannot find or does not trust the SSL certificates for Enterprise Search
Kibana logs the following:
{"type":"log","@timestamp":"2021-09-28T17:42:11+00:00","tags":["error","plugins","enterpriseSearch"],"pid":1220,"message":"Could not perform access check to Enterprise Search: FetchError: request to https://enterprise-search:3002/api/ent/v2/internal/client_config failed, reason: unable to verify the first certificate"}
I tried to modify kibana.yml to include enterpriseSearch.ssl.VerificationMode: none as a last resort, but kibana fails to start with FATAL Error: [config validation of [enterpriseSearch].ssl]: definition for this key is missing) .
I see the same error when I try to pass a ca certificate (elasticsearch.ssl.certificateAuthorities: and elasticsearch.ssl.verificationMode: certificate)
ElasticSearch and Kibana version: 7.12
EnterpriseSearch version: 7.12