Search code examples
elasticsearchelastic-apm

elastic apm, turn off ssl verification


logstash 's elasticsearch output has option to turn off SSL verification

https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-ssl_certificate_verification

Is there a similar option for apm?

Elasticsearch is using self signed certificate, and apm is complaining when connecting to ES.


Solution

  • All of the Elastic APM agents, with the exception of the RUM JavaScript agent, have a verify_server_cert configuration variable. You can set this to false to disable server TLS certificate verification.