Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prometheus SSL/TLS certificate #55

Closed
yosri-ben-mahfoudh opened this issue Dec 27, 2018 · 3 comments
Closed

Prometheus SSL/TLS certificate #55

yosri-ben-mahfoudh opened this issue Dec 27, 2018 · 3 comments

Comments

@yosri-ben-mahfoudh
Copy link

Hello,

I was wondering if there is a way to specify prometheus ssl certificates a long with prometheus-url. Actually, kured is encountring the following error when trying to contact Promehtues:

kured-2wksk kured time="2018-12-27T09:04:02Z" level=warning msg="Reboot blocked: prometheus query error: Get https://monitoring-prometheus:9090/api/v1/query?query=ALERTS&time=2018-12-27T09%3A04%3A02.438586828Z: x509: certificate signed by unknown authority"

@zeeZ
Copy link

zeeZ commented Mar 19, 2019

Try mounting your CA certificate from a Secret or ConfigMap as /etc/ssl/certs/ca-certificates.crt or another one of the paths listed here:
https://golang.org/src/crypto/x509/root_linux.go

@evrardjp
Copy link
Collaborator

IMO, this can be closed. @dholbach could you press the button, please? :D

@dholbach
Copy link
Member

Ok. We'll close this one for now. Please reopen if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants