# Why server certificate check failing?

**URL:** <https://community.dynatrace.com/t/why-server-certificate-check-failing/37088>\
**Category:** Troubleshooting\
**Tags:** certificate, oneagent\
**Created:** [November 2, 2022, 7:45am UTC](https://community.dynatrace.com/t/why-server-certificate-check-failing/37088 "2022-11-02T07:45:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![adham\_sabry](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/adham_sabry/32/15887_2.png) [@adham\_sabry](https://community.dynatrace.com/u/adham_sabry)\
**Post date:** [November 2, 2022, 7:45am UTC](https://community.dynatrace.com/t/why-server-certificate-check-failing/37088/1 "2022-11-02T07:45:14Z")

</div>

OneAgent is shipped with trusted Dynatrace SSL certificates, which are used to verify that OneAgent connects successfully to Dynatrace Server or ActiveGate.

If your environment uses a proxy (thereby requiring an update to the remote server’s SSL certificate), then you may encounter a

```auto
Server certificate check failed

```

message during the initial connection check.

To resolve this issue, specify the trusted proxy certificate that is to be utilized by OneAgent. To do this, provide a copy of your proxy’s SSL certificate as a file called&nbsp; **custom.pem** &nbsp;in the

```auto
/var/lib/dynatrace/oneagent/agent/customkeys

```

or

```auto
%PROGRAMDATA%\dynatrace\oneagent\agent\customkeys

```

directory. The file&nbsp; **custom.pem** &nbsp;should contain the proxy’s certificate along with any intermediate certificates as required.

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [January 10, 2023, 2:26pm UTC](https://community.dynatrace.com/t/why-server-certificate-check-failing/37088/2 "2023-01-10T14:26:47Z")

</div>

[@adham\_sabry](https://community.dynatrace.com/user/25940)&nbsp;thank you for sharing this along with the location for both linux and windows AGs

---

<div class="post-metadata">

**Author:** ![Arjun123](https://avatars.discourse-cdn.com/v4/letter/a/8491ac/32.png) [@Arjun123](https://community.dynatrace.com/u/Arjun123)\
**Post date:** [February 29, 2024, 5:43pm UTC](https://community.dynatrace.com/t/why-server-certificate-check-failing/37088/3 "2024-02-29T17:43:39Z")

</div>

Hi Team, Can you please explain why the proxy certificate verification is mandatory. Is proxy certificate is required for all the below cases or only required for domain with http.

1. If the given proxy is domain like [http://testproxy.com:8888](http://testproxy.com:8888)  
2. proxy domain [https://testproxy.com:8888](https://testproxy.com:8888)

3. proxy ip [http://134.56.77.55:8888](http://134.56.77.55:8888)

4. Proxy ip [https://134.56.77.55:8888](https://134.56.77.55:8888)

In some cases proxy doesn’t provide ssl ca certificate. In that case what can I do. One agent simply through missing ca certificate.

---

<div class="post-metadata">

**Author:** ![Glionel1985](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/glionel1985/32/32178_2.png) [@Glionel1985](https://community.dynatrace.com/u/Glionel1985)\
**Post date:** [March 7, 2024, 4:19pm UTC](https://community.dynatrace.com/t/why-server-certificate-check-failing/37088/4 "2024-03-07T16:19:01Z")

</div>

Good morning, I am having a similar problem, I have certificate errors, it is not possible for me to connect to AG. The server where the agent is is a redhat 7.9, which makes me a little desperate. This situation assumes there is no proxy.

Logs:

Certificate check failed with cainfo from { serverCAInfo: [/opt/dynatrace/oneagent/agent/conf/ruxitserverfull.pem, /var/lib/dynatrace/oneagent/agent/customkeys/custom.pem], proxyCAInfo: [] }  
2024-03-04 15:44:40.822 UTC [000366a2] info [comm] URL https://{environmentid}.live.dynatrace.com/communication not working (SSL certificate problem: unable to get local issuer certificate)  
2024-03-04 15:44:41.093 UTC [000366a2] warning [comm] Certificate check failed with cainfo from { serverCAInfo: [/opt/dynatrace/oneagent/agent/conf/ruxitserverfull.pem, /var/lib/dynatrace/oneagent/agent/customkeys/custom.pem], proxyCAInfo: [] }  
2024-03-04 15:44:41.093 UTC [000366a2] info [comm] URL https://{environmentid}.live.dynatrace.com/communication not working (SSL certificate problem: unable to get local issuer certificate)

---

<div class="post-metadata">

**Author:** ![Sabriina](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@Sabriina](https://community.dynatrace.com/u/Sabriina)\
**Post date:** [September 23, 2025, 9:21am UTC](https://community.dynatrace.com/t/why-server-certificate-check-failing/37088/5 "2025-09-23T09:21:24Z")

</div>

Hi&nbsp;[@Glionel1985](https://community.dynatrace.com/user/50849)&nbsp;, do you find a solution about your problem please? I have a quit similar issue on my edge connect connection.
