logstash 's elasticsearch output has option to turn off SSL verification
Is there a similar option for apm?
Elasticsearch is using self signed certificate, and apm is complaining when connecting to ES.
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.
I am using docker-compose
and the following option doesn't work. I think its a bug for apm.. When I use same option in apm-server.yml it works fine.
environment:
- output.elasticsearch.protocol=https
- output.elasticsearch.username=$USERNAME
- output.elasticsearch.password=$ELASTIC_PASSWORD
- output.elasticsearch.ssl.verification_mode=none