-
Notifications
You must be signed in to change notification settings - Fork 1.6k
mTLS issue with OTLP #12396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ok I also tried to run them without istio RECEIVER COLLECTOR
EXPORTER COLLECTOR
Logs from the EXPORTER COLLECTOR:
Logs from the RECIEVER OTEL COLLECTOR:
Guiding to setup work would be helpful. |
Also, how do correctly configure the |
Ok it looks like the issue is related to |
Component(s)
receiver/otlp
What happened?
Describe the bug
I am trying to connect 2 OTEL collectors via mTLS, however, I get the error (otlp exporter):
No Logs Reciever side. so not sure what the issue there
Steps to reproduce
The following are the configurations in place:
I) Istio is enabled, however TLS I believe is disabled with the following configuration
A note on the certificates created:
extfile: san_server.cnf
Extfile
Finally uploaded the certificates as secrets:
Create the Gateway and Route:
Gateway Config:
Route Config:
I configured sample external otel collector as follows:
But the setup does not work. As an alternative I also tried to replace the
root.crt
withca_file: /etc/cert/server.crt
(in the exporter) andclient_ca_file: /etc/pki/ca-trust/source/client-ca/client.crt
(in the receiver). However it keeps throwing error at the exporter as mentioned above.P.S With the following configuration below, the setup works of course:
tls
configuration from the RECIEVER OTEL removedserver_name_override
) in the EXPORTER OTELHTTPS
Gateway withcertificateRefs
andmode: Terminate
PeerAuthentication
set tostrict
it worked with any setting here btw...What did you expect to see?
telemetry
service from the RECIEVER OTEL.What did you see instead?
mTLS doesn't work and the exporter throws the error:
Collector version
0.118.0
Environment information
Environment
Kubernetes
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: