Skip to content

filebeat x509 certificate signed by unknown authority when calling api endpoint #377

@tom-morgan12

Description

@tom-morgan12

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions