Prometheus and Grafana Server from http to https

14 views
Skip to first unread message

Amarnath Jena

unread,
Jun 23, 2020, 2:13:24 PM6/23/20
to Prometheus Users
Hello everyone,

I am using Ubuntu 18.04 Server in which i have installed prometheus and grafana working fine on http using specific port. I have used letsencrypt for ssl certificate to move from http to https on both prometheus and grafana. Successfully installed the certificate but issue arises that the web-interface for both prometheus and grafana is not accessable on https on specific port. How i can move both prometheus and grafana from http to https on specific port. kindly help to resolve this.

Http for prometheus= x.x.x.x:12345
http for grafana= x.x.x.x:3000

How we can same redirect them to https with same port.

Brian Candler

unread,
Jun 24, 2020, 6:10:00 AM6/24/20
to Prometheus Users
Prometheus doesn't (yet) support HTTPS as a server - only as a client, i.e. when scraping.  You need to run it behind a reverse proxy like Apache.

I'm not sure whether Grafana supports HTTPS natively, but I run it behind a reverse proxy anyway.
Reply all
Reply to author
Forward
0 new messages