I have configured TLS for influx successfully. I have a standard influx output and input collecting cpu metrics configured with TLS successful.
When I use the [[inputs.http_listener_v2]] input with the same output TLS config I receive an error.
I have tested the ‘/telegraf’ endpoint with postman and curl
Postman shows an error of Error: socket hang up
Curl show an error of
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 74 0 0 100 74 0 1121 --:--:-- --:--:-- --:--:-- 1121
curl: (56) OpenSSL SSL_read: error:14094412:SSL routines:ssl3_read_bytes:sslv3 alert bad certificate, errno 0
I am able to perform a ping against https ‘/health’ endpoint receiving
{
"name": "influxdb",
"message": "ready for queries and writes",
"status": "pass",
"checks": [],
"version": "2.0.7",
"commit": "2a45f0c037"
}
Installed on ubuntu v20.04
Any thoughts?