Telefonica / prometheus-kafka-adapter

Use Kafka as a remote storage database for Prometheus (remote write only)
Apache License 2.0
364 stars 135 forks source link

Error while passing SSL Certification - support needed #128

Open velu4689 opened 9 months ago

velu4689 commented 9 months ago

Hi, I have been using Telefonica for last ~10 months & I am currently upgrading to use SSL_SASL mechanism & trying to pass the ca.pem file as an input to KAFKA_SSL_CA_CERT_FILE, but I am getting following error.

SSL handshake failed: error:1416F086:SSL routines:tls_process_se rver_certificate:certificate verify failed

The same ca.pem works, when running producer/consumer using python script.

Thanks

vishal14101986-git commented 7 months ago

Hi Velu, I have also stuck on the same issue and getting the same error while connecting to Kafka using SSL_SASL mechanism but it's not working. Have you got any solution of this.?

palmerabollo commented 7 months ago

SASL was added by an external contributor in #46. I've not tried it myself, so I can't help a lot. However, @vishal14101986-git there is an unmerged pull requests that might be related to the issue https://github.com/Telefonica/prometheus-kafka-adapter/pull/95 Could you please take a look at it?