integrations-core icon indicating copy to clipboard operation
integrations-core copied to clipboard

DataDog agent overrides tls_verify configuration when tls_ca_cert is set

Open illegalnumbers opened this issue 1 year ago • 1 comments

See here, if you are running with tls_verify turned off and a TLS CA Cert configured I think this makes it so it will turn the verification back on even if you explicitly turn it off. There are some use cases where having tls_verify turned off and the rest of the configuration enabled is valid. Is this intentional? I'm unfamiliar with the code here, this seems to affect the openmetrics integration, is that true?

illegalnumbers avatar Apr 15 '23 02:04 illegalnumbers

Hi @illegalnumbers , yes using tls_ca_cert implicitly sets tls_verify to True, and this is intended. What are your use cases where this should not be the case?

yzhan289 avatar May 30 '23 21:05 yzhan289