I'm trying to transfer logs from a docker container to ELK using elastic-logging-plugin:8.9.2
On the Elastic side I see this type of error:
"error.message":"javax.net.ssl.SSLHandshakeException: Received fatal alert: bad_certificate
There is also an error on the elastic logging plugin side:
\"message\":\"Error dialing x509: certificate signed by unknown authority\",\"service.name\":\"elastic-logging-driver\"
Because This is a test ELK, so the certificate we use is self-signed. Also, I have already added this CA to the trusted ones both on the docker host and in the container itself for test purposes. And at the same time, it is possible to successfully execute a curl request to elastic from the docker container and the docker host. The response returns information about the elk node to which the call is made, so I am sure that the certificate is installed and works correctly
The documentation for the elastic logging plugin does not contain any information about the TLS/SSL connections.
Any ideas what's wrong here?