Certificate in Auth Encryption Lab

In the lab, we generated two different certificates (with keys) in 2 nodes. The certificate content is different. While configuring in prometheus server, how can we use the same certificate of one of the nodes for both nodes?

Hi @rahulcomp24,

You can check the following steps:

  1. Copy the certificate and key from one of the nodes to the other node.

  2. In the prometheus.yml configuration file, update the tls_config section to point to the copied certificate and key files. For example:

tls_config:
  cert_file: /etc/prometheus/prometheus.crt
  key_file: /etc/prometheus/prometheus.key

For your reference: