ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

.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://apmservices-gateway.26.0.138.153.nip.io:443/em/transport/services/IsengardHttpTunnelingService ---> 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