Please provide sample TLS config file.
--web.tls-config=" /path to config.yml
Any update on this?
@bhargaviaaa @mishas2303 based on the code should read like this:
---
tlsConfig:
tlsCertPath: "/opt/prometheus/tls/prom.cert"
tlsKeyPath: "/opt/prometheus/tls/prom.key"
clientAuth: "RequireAndVerifyClientCert"
clientCAs:
- "/opt/prometheus/tls/ca/company.pem"
@kkirsche should we add your example here: https://github.com/prometheus/node_exporter/tree/master/docs ?
I think that would make a lot of sense.
I鈥檓 all for that if people feel that would be useful. I wasn鈥檛 sure where it would go (new document, existing document somewhere, etc) but if pointed in the right direction I鈥檇 be happy to see it in the docs.
There's already a sample in the repo here:
https://github.com/prometheus/node_exporter/tree/master/https
This is now linked from the main readme.
Most helpful comment
@bhargaviaaa @mishas2303 based on the code should read like this: