Securing Prometheus API and UI endpoints using TLS encryption
Prometheus does not directly support Transport Layer Security (TLS) encryption for connections to Prometheus instances (such as to the expression browser or HTTP API). If you would like to enforce TLS for those connections, we recommend using Prometheus in conjunction with a reverse proxy and applying TLS at the proxy layer.
Refer to the Prometheus documentation.