Hi All,
I am trying to implement hearbeat monitor for one of my application and I am getting below error.
I have done below configuration
- type: http
# List or urls to query
urls: ["https://x.x.x.x:9090"]
# Configure task schedule
schedule: '@every 10s'
InsecureSkipVerify: true
# Total test connection and data exchange timeout
#timeout: 16s
ssl:
# Certificate Authorities
certificate_authorities:
- |
-----BEGIN CERTIFICATE-----
some base64 encoded value
-----END CERTIFICATE-----
Error
Get "https://x.x.x.x:9090": x509: cannot validate certificate for x.x.x.x because it doesn't contain any IP SANs
One of the reason can be cn name is different than the host name, but I am not whether this is the reason and also how to resolve it