Skip to content

[BUG] Profiler auto-instrumentation on .NET Framework 4.7.2+ doesn't honour the VerifyServerCert configuration #2530

@stevejgordon

Description

@stevejgordon

Our agent targets different versions of .NET, and specific code paths apply to each target for certain functionality. One of these is the handling for ELASTIC_APM_VERIFY_SERVER_CERT, which behaves differently on older .NET Framework versions (< 4.6.2) due to limitations there.

Our profiler zip asset only ships the base net462 libraries. Therefore, when using auto-instrumentation with the profiler, some features, including the verify server certificate configuration option, are not applied, even when the instrumented application runs on .NET 4.7.2 or newer.

We need to update the build scripts and release workflows to ensure that the net472 libraries are included in the zip file and resolved by the managed loader.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions