<PackageReference Include="OpenTelemetry.Exporter.OpenTelemetryProtocol" Version="1.19.1" />

OpenTelemetry.Exporter.OtlpTlsOptions

Represents TLS configuration options for OTLP exporter. This class handles server certificate trust for scenarios such as self-signed certificates.
public string CaCertificatePath { get; set; }

Gets or sets the path to the CA file in PEM format.

public bool EnableCertificateChainValidation { get; set; }

Gets or sets a value indicating whether to enable certificate chain validation. When enabled, the exporter will validate the certificate chain and reject invalid certificates.

public virtual bool IsMtlsEnabled { get; }

Gets a value indicating whether mTLS (mutual TLS) is configured.

public virtual bool IsTlsEnabled { get; }

Gets a value indicating whether TLS certificate trust is configured.

public OtlpTlsOptions()