Ability to use OTLP servers with self-signed certificates #3393
Labels
enhancement
New feature or request
pkg:OpenTelemetry.Exporter.OpenTelemetryProtocol
Issues related to OpenTelemetry.Exporter.OpenTelemetryProtocol NuGet package
Milestone
Feature Request
My OTLP server has a self-signed SSL certificate, but there is no way for me to configure the
GrpcChannelOptions
in order to customize how the certificates are validated. I've read through various issues and there seems to be a desire to not exposeGrpcChannelOptions
which is fine, but there needs to be some sort of way to customize how certificates are validated. Ideally, I'd like to check the certificates thumbprint to validate it and I can also see wanting to just ignore cert errors just for the OTLP server requests.It seems like it would be nice if the
HttpClientFactory
was used to set theHttpClient
property on theGrpcChannelOptions
. Then I could configure the client just for that export service.The text was updated successfully, but these errors were encountered: