# While installing java APM agent , this error occured : APM Server identity could not be verified

**URL:** <https://discuss.elastic.co/t/while-installing-java-apm-agent-this-error-occured-apm-server-identity-could-not-be-verified/334119>\
**Category:** APM\
**Tags:** java\
**Created:** [May 23, 2023, 12:40pm UTC](https://discuss.elastic.co/t/while-installing-java-apm-agent-this-error-occured-apm-server-identity-could-not-be-verified/334119 "2023-05-23T12:40:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anand\_Hitachi](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@Anand\_Hitachi](https://discuss.elastic.co/u/Anand_Hitachi)\
**Post date:** [May 23, 2023, 12:40pm UTC](https://discuss.elastic.co/t/while-installing-java-apm-agent-this-error-occured-apm-server-identity-could-not-be-verified/334119/1 "2023-05-23T12:40:53Z")

</div>

while installing java APM agent , this error occured : APM Server identity could not be verified.  
Full error to be precise : [elastic-apm-server-reporter] INFO co.elastic.apm.agent.report.ssl.TLSFallbackSSLSocket - APM Server identity could not be verified

Elastic cloud allots an AWS instance by itself for APM server when we create a new APM project .

---

<div class="post-metadata">

**Author:** ![Jonas\_Kunz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jonas_kunz/32/110740_2.png) [@Jonas\_Kunz](https://discuss.elastic.co/u/Jonas_Kunz)\
**Post date:** [June 1, 2023, 7:07am UTC](https://discuss.elastic.co/t/while-installing-java-apm-agent-this-error-occured-apm-server-identity-could-not-be-verified/334119/2 "2023-06-01T07:07:14Z")

</div>

Hi @Anand_Hitachi , are there any other other errors showing up in the apm agent logs? The `APM Server identitiy could not be verified` message often shows when there actually is a different problem with the connection (e.g. the APM server being unreachable from your machine).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 29, 2023, 7:07am UTC](https://discuss.elastic.co/t/while-installing-java-apm-agent-this-error-occured-apm-server-identity-could-not-be-verified/334119/3 "2023-06-29T07:07:29Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
