.NET agent fails to connect to DX APM
search cancel

.NET agent fails to connect to DX APM

book

Article ID: 236826

calendar_today

Updated On:

Products

DX Application Performance Management

Issue/Introduction

I have a .NET agent that fails to connect to DX APM server because of an untrusted certificate

System.Net.WebException: The HTTP Tunneling server cannot be reached at: https://xxx-xxx.##.##.##.##.xxx.xx:443/xx/xxxxx/xxxxxx/XHttpTunnelingService ---> System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. ---> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.

How can we skip SSL certificate validation?

Environment

  • Release: 20.x onwards
  • Component: Integration with APM

Resolution

Add this property to the IntroscopeAgent.profile:

agentManager.ssl.certPolicy=AcceptLogError