HI Jakubik,

I target configured is IP address, and then cert is self sign from openssl. 
When i curl the link is IP address.

在 2020年3月18日星期三 UTC+8下午10:45:41,Jakub Jakubik写道:
>
> 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] 
> <javascript:>> 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] <javascript:>.
>> 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] <javascript:>
> 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/f0e06029-f01b-44f0-aa68-f3a839f83243%40googlegroups.com.

Reply via email to