# How to get ECK APM to work with any type of agent at all!?!

**URL:** <https://discuss.elastic.co/t/how-to-get-eck-apm-to-work-with-any-type-of-agent-at-all/341429>\
**Category:** APM\
**Tags:** docker, nodejs, server\
**Created:** [August 23, 2023, 6:14am UTC](https://discuss.elastic.co/t/how-to-get-eck-apm-to-work-with-any-type-of-agent-at-all/341429 "2023-08-23T06:14:59Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![axw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/axw/32/28197_2.png) [@axw](https://discuss.elastic.co/u/axw)\
**Post date:** [August 30, 2023, 10:02am UTC](https://discuss.elastic.co/t/how-to-get-eck-apm-to-work-with-any-type-of-agent-at-all/341429/14 "2023-08-30T10:02:39Z")

</div>

> What do you mean "What TLS key file"? Here is the required TLS cert and key files at the APM server (as shared by your colleague [APM agent TLS communication | APM User Guide [8.9] | Elastic](https://www.elastic.co/guide/en/apm/guide/current/agent-tls.html))

The screenshot you shared is of the APM Integration policy editor. As I mentioned in the [other topic](https://discuss.elastic.co/t/authentication-failed-missing-or-improperly-formatted-authorization-header-expected-authorization-bearer-secret-token-or-authorization-apikey-base64-api-key-id-api-key/340321/7), the APM Integration is not relevant when you're using the `ApmServer` ECK object kind. On the [APM agent TLS communication | APM User Guide [8.11] | Elastic](https://www.elastic.co/guide/en/apm/guide/current/agent-tls.html) page, the bits about `SSL/TLS input settings` are only relevant when using the Elastic Agent & Fleet Server to manage APM. So just ignore that, ECK has configured your APM Server with TLS.

> What's the use case of each? Any documentation for that!?!

See [TLS certificates | Elastic Cloud on Kubernetes [2.10] | Elastic](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-tls-certificates.html)

"The public certificate is stored in a secret named -[es|kb|apm|ent|agent]-http-certs-public."

See also the script I shared above.

> Mounted the public apm http cert in my app but to no avail!

Can you please share the deployment/pod spec for your application? I will also try to put together a more complete example tomorrow, including an application instrumented with an APM agent.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-get-eck-apm-to-work-with-any-type-of-agent-at-all/341429)._
