I have setup telegraf with http output plugin to write to a remote endpoint. This endpoint is configured with ip. I have setup TLS in telegraf by passing in the tls_ca parameter in telegraf. Here telegraf expects the certificate to have the IP address. Is there a way to turn off host verification in telegraf. It works with insecure_skip_verify, but this flag skips verification of certificate altogether. I want to know if there is a way we can validate the certificate by skipping host verification
@rahav_jv did you try to set tls_server_name
to the name specified in the certificate? Another alternative would be to not use the IP in the request but the actual name of the server…