Configuring the TimesTen Exporter and Prometheus with Client Certificate Authentication
This example illustrates how to configure both the Exporter and Prometheus to require client certificate authentication. It first uses the ttExporter
utility to create and export the server certificate, to create and export the client certificate, and to create and export the client private key. It then configures Prometheus to use the server certificate, the client certificate, and the client private key that was created by the TimesTen ttExporter
utility. The example starts the Exporter. After the Exporter is started, the example verifies that Prometheus is securely scraping the TimesTen metrics that the Exporter exposes.
You successfully configured the Exporter and Prometheus to require client certificate authentication. You also started the Exporter. Prometheus is securely scraping the TimesTen metrics that the Exporter exposes at the
/metrics
endpoint. Prometheus continues to scrape the TimesTen metrics until you stop the Exporter.