On Tuesday, 10 January 2023 at 12:45:27 UTC Danny de Waard wrote:
For the prometheus server i could get a certificate with the servername and 
use that to get it running with https?
Just make the cert, hang it in prometheus, restart and go?

Yes.  I run prometheus behind a HTTPS reverse proxy, but as long as you 
have a reasonably recent version of prometheus, there is built-in 
functionality you can use:
https://prometheus.io/docs/prometheus/latest/configuration/https/
https://prometheus.io/docs/guides/tls-encryption/
https://inuits.eu/blog/prometheus-server-tls/

(looks like it was introduced in 2.24)


Then Basic Auth on HTTPS would also work?

Yes.

However, since the problem was not with prometheus but with your browser 
not performing basic auth, and we don't really know why, it's not 
*guaranteed* this will fix your browser problem.  (Conceivably, your 
browser has basic auth completely disabled. I've never seen a browser like 
that, but it's possible).  Try it and see.

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/952dcea0-96e3-4766-9e5b-bd94e73f965en%40googlegroups.com.

Reply via email to