Filebeat x509 certificate signed by unknown authority when calling api endpoint

I am getting this error from filebeat:

2023-02-07 07:14:47 2023-02-07T15:14:47.204Z    
ERROR   [input.httpjson-stateless]      v2/input.go:129 Error while processing http request: failed to execute http client.Do: failed to execute http client.Do: Get "https://abc.io/monitoring/logs/tail?source=newlog": 
Get "https://abc.io/monitoring/logs/tail?source=newlog": x509: certificate signed by unknown authority
{"url": "https://abc.io/monitoring/logs/tail"}

I am running filebeat container image. So, I do not know how we can change the configuration or add some root ca chain so that the filebeat as a client can trust for the cert which is returned by server url https://abc.io/monitoring/logs/tail.Can anyone help me with this.

Also sharing below github repo which I am using to run the container for file beat and elk.

https://github.com/atomicsamurai/elk-docker

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.