Hi,

I was going through the *Prometheus tls configuration*. I've come across*
two different tls configurations* in Prometheus.
One is tls_config and the other one is tls_server_config.

I want to understand the difference between these two.


I want to achieve the following:
1) I've a service running with MTLS, and I want  Prometheus to scrape
metrics from that service.
2) Service needs client cert and client key and cacert as well.

For ex:
     1) curl -v --cert ./client.crt --key ./client.key GET -H
"Content-type: application/json" https://xxx.xxx.xxx.xx:xxxx/metrics
--cacert server.crt
     2) What if I don't want to pass cacert, I want to use -k(insecure in
configuration) . How can I do that?

So, what configuration can I use in prometheus to achieve this?


Thanks,
Akshay

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAOrgXNJ7e1hGc59YBjGmFfLVud-0%2BfDZ0vEFiAPhh4cuTqo_LQ%40mail.gmail.com.

Reply via email to