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
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 custom.pem in the
/var/lib/dynatrace/oneagent/agent/customkeys
or
%PROGRAMDATA%\dynatrace\oneagent\agent\customkeys
directory. The file custom.pem should contain the proxy’s certificate along with any intermediate certificates as required.
@adham_sabry thank you for sharing this along with the location for both linux and windows AGs