Replies: 1 comment
-
|
No. The Java OTLP gRPC exporter does not support disabling hostname verification, and there are no plans to expose such an option because it would weaken TLS security. If you're using self-signed certificates, configure the exporter to trust the certificate and ensure the certificate's Subject Alternative Name (SAN) matches the hostname you're connecting to. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I try to use opentelemetry SDK to report some traces, I need TLS to encrypt my connection but I don't want to check server's Certificate and I don't want to verify server's hostname.
I have try to define a “Trust All” trust manager, it works, but hostname verify still block me. Is there some way to disable hostname verify with OtlpGrpcSpanExporter ?
I‘m using opentelemetry-exporter-otlp 1.55.0.
Beta Was this translation helpful? Give feedback.
All reactions