# Elastic Logging Plugin SSL certificates issue

**URL:** <https://discuss.elastic.co/t/elastic-logging-plugin-ssl-certificates-issue/343021>\
**Category:** Beats\
**Tags:** docker, beats-module\
**Created:** [September 14, 2023, 7:23am UTC](https://discuss.elastic.co/t/elastic-logging-plugin-ssl-certificates-issue/343021 "2023-09-14T07:23:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vladimir7172](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vladimir7172/32/124326_2.png) [@Vladimir7172](https://discuss.elastic.co/u/Vladimir7172)\
**Post date:** [September 14, 2023, 7:23am UTC](https://discuss.elastic.co/t/elastic-logging-plugin-ssl-certificates-issue/343021/1 "2023-09-14T07:23:48Z")

</div>

Hello!  
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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 12, 2023, 9:24am UTC](https://discuss.elastic.co/t/elastic-logging-plugin-ssl-certificates-issue/343021/2 "2023-10-12T09:24:18Z")

</div>

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