FortiClient EMS not trusting elaticsearch CA, how to make it trust that certificate?
Hey,
we have FortiClient EMS (Linux) running at version 7.4.5 build2111 (Mature)
And recently we installed a small independent elasticsearch cluster that's only supposed to get the FortiClient Endpoint Events.
The FortiClient EMS Administrator Guide is not helpful at all at explaining how to get EMS to connect to that elasticsearch cluster.
It keeps complaining about the CA certificate:
2026-03-18T15:07:43.445Z ERROR service/event.go:103 create indices: create all indices: check if index forticlientems_alerts_745-write exists: an error happened during the Exists query execution: tls: failed to verify certificate: x509: certificate signed by unknown authority (possibly because of "crypto/rsa: verification error" while trying to verify candidate authority certificate "Elastic Certificate Tool Autogenerated CA")
I used the emscli to give it the proper parameters including a path to the certificate, imported it to the ubuntu trust store and tried every possible way I can think of but it just keeps complaining.
How can I convince EMS to trust this autogenerated self-signed certificate?
Changing the certificate to another one on the elasticsearch side is not an option either because it would just circle me back to the same problem of how to make EMS trust that CA / the certificate as we dont have any publicly signed CA certs for our internal domain that we are using.
