KEMBAR78
Support mTLS for JaegerRemoteSampler [java] · Issue #5209 · open-telemetry/opentelemetry-java · GitHub
Skip to content

Support mTLS for JaegerRemoteSampler [java] #5209

@chicobento

Description

@chicobento

Background

Jaeger supports mTLS for GRPC interface via --query.grpc.tls.client-ca parameter.
However, JaegerRemoteSampleBuilder is not exposing the a setClientTls operation for setting the privateKey / certificate PEM, as done by other Builders, such as OtlpHttpSpanExporterBuilder.setClientTls.

Solution

Align JaegerRemoteSamplerBuilder with other Builders by providing a similar setClientTls operation.

Alternative
Ideally, all builders should also support ways for passing the key/trust store pairs rather than the raw pem files. In our solution we already have the general code for handling the conversion of pem files to keystore / truststore pairs done externally, so an overload of the setClientTls and setTrustedCertificates operations with the keystore/trustore params would come handy.
See #5211

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions