do you have the target configured with the ip address or the domain? is the
domain in the cert? with curl do you use the ip or hostname?

On Wed, Mar 18, 2020 at 12:35 PM Jack Chew <[email protected]> wrote:

> Hi team,
>
>
> I config prometheus configere file TLS path will arise  Get
> https://ip:9100/metrics: x509: cannot validate certificate for ip because
> it doesn't contain any IP SANs, But i try use curl is work.
>
> --
> 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/577749e3-a177-46d2-b05f-a2c8b3697dbc%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/577749e3-a177-46d2-b05f-a2c8b3697dbc%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Kuba Jakubik

SRE Tech Lead

Netguru - Building software for world changers
[email protected]
netguru.com
[image: facebook] <https://www.facebook.com/netguru> [image: twitter]
<https://twitter.com/netguru> [image: linkedin]
<https://www.linkedin.com/company/netguru/>

-- 
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/CAD5xb_FcjP00K5ZdjhRzaervDUvznYRcBdVt1zaeqpFqiHY7dQ%40mail.gmail.com.

Reply via email to